Fix components being selected when starting dragging
This commit is contained in:
parent
4ff441e83f
commit
575636ed3d
|
@ -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