Skip to content

Commit

Permalink
chore: stop dnd scoll container warning
Browse files Browse the repository at this point in the history
Having overflow: auto on a parent of the Droppable causes the following dnd warning:

> dnd.esm.js:31 @hello-pangea/dndDroppable: unsupported nested scroll container detected.A Droppable can only have one scroll parent (which can be itself)Nested scroll containers are currently not supported.We hope to support nested scroll containers soon: atlassian/react-beautiful-dnd#131

See atlassian/react-beautiful-dnd#131
  • Loading branch information
chrisvxd committed Nov 22, 2023
1 parent c066397 commit 13f8cc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/components/Puck/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* 1598px | 1212px
*/

.Puck {
.Puck {
--puck-frame-width: minmax(266px, auto);
--puck-side-bar-width: minmax(186px, 250px);
--puck-space-px: 16px;
Expand All @@ -27,7 +27,6 @@
grid-template-rows: min-content auto;
height: 100vh;
left: 0;
overflow-x: auto;
position: fixed;
right: 0;
top: 0;
Expand Down

1 comment on commit 13f8cc0

@vercel
Copy link

@vercel vercel bot commented on 13f8cc0 Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.