Fix components being selected when starting dragging
This commit is contained in:
parent
358e5996f5
commit
67b6821b37
|
@ -446,7 +446,7 @@
|
||||||
const scrollIntoView = () => {
|
const scrollIntoView = () => {
|
||||||
// Don't scroll into view if we selected this component because we were
|
// Don't scroll into view if we selected this component because we were
|
||||||
// starting dragging on it
|
// starting dragging on it
|
||||||
if (get(builderStore).dragging) {
|
if (get(dndIsDragging)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const node = document.getElementsByClassName(id)?.[0]?.children[0]
|
const node = document.getElementsByClassName(id)?.[0]?.children[0]
|
||||||
|
|
Loading…
Reference in New Issue