@vectoriox/iox-builder 1.4.47 → 1.4.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -677,6 +677,10 @@ class DragEngineService {
|
|
|
677
677
|
// whose DOM element lives inside the dragged source wrapper.
|
|
678
678
|
if (this._sourceEl?.contains(el))
|
|
679
679
|
continue;
|
|
680
|
+
// Skip elements hidden by interaction pre-state (pointer-events: none marks
|
|
681
|
+
// entrance-type targets that are currently opacity:0 in the canvas).
|
|
682
|
+
if (el.style.pointerEvents === 'none')
|
|
683
|
+
continue;
|
|
680
684
|
const rect = this._dropzoneRectCache.get(id) ?? el.getBoundingClientRect();
|
|
681
685
|
if (px >= rect.left && px <= rect.right && py >= rect.top && py <= rect.bottom) {
|
|
682
686
|
const area = rect.width * rect.height;
|