Skip to content

Commit d5324f1

Browse files
committed
refactor: ensure DropZones can still capture pointer event
Previous commit addressed a bug related to the data- attributes being overwritten, but failed to address the underlying CSS styles that enable the DropZone to capture the necessary pointer events to trigger the NestedDroppablePlugin.
1 parent 00f3e0f commit d5324f1

File tree

1 file changed

+1
-1
lines changed
  • packages/core/components/DraggableComponent

1 file changed

+1
-1
lines changed

packages/core/components/DraggableComponent/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
-webkit-user-select: none;
1313
}
1414

15-
[data-puck-dnd] {
15+
[data-puck-dropzone] {
1616
pointer-events: auto !important; /* Ensure DropZones still capture pointer events inside data-puck-components so elementsFromPoint triggers */
1717
}
1818

0 commit comments

Comments
 (0)