Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration droppable.placeholder style error #169

Open
czj986399434 opened this issue Dec 23, 2024 · 1 comment

Comments

@czj986399434
Copy link

When I migrated from react-beautiful-dnd to @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration, I encountered a style shift issue while using the Droppable placeholder. Specifically, when the elements inside the Droppable wrap onto new lines, it appears that the placeholder only calculates translateX but does not account for translateY.
Uploading 20241223dragerror.jpeg…

@czj986399434
Copy link
Author

czj986399434 commented Dec 23, 2024

<Droppable> {(provided) => ( <div className="flex flex-wrap"> ... {provided.placeholder} </div> )} </Droppable>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant