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

Positioning bug when using nested lists #68

Open
olegcherr opened this issue Oct 8, 2020 · 2 comments
Open

Positioning bug when using nested lists #68

olegcherr opened this issue Oct 8, 2020 · 2 comments

Comments

@olegcherr
Copy link

I'm trying to implement nested sortable list like this one.
The source code is here: https://codesandbox.io/s/rsd-nested-bug-demo-3gfxq

I noticed a strange positioning bug when trying to move nested item:
20201008-154339

@Vishwas-Adiga
Copy link

Vishwas-Adiga commented Oct 11, 2020

Try setting the getGhostParent prop of all the containers to () => document.body

Edit: Related issue here

@olegcherr
Copy link
Author

@Vishwas-Adiga Seems like nothing's changed.
BTW you could try it by yourself. Just fork my codesandbox.

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

2 participants