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

Droppable is a scroll container doesn't allow to drop #461

Closed
izorg opened this issue Apr 20, 2018 · 1 comment
Closed

Droppable is a scroll container doesn't allow to drop #461

izorg opened this issue Apr 20, 2018 · 1 comment
Assignees
Labels

Comments

@izorg
Copy link

izorg commented Apr 20, 2018

Bug or feature request?

bug

Expected behavior

https://react-beautiful-dnd.netlify.com/?selectedKind=single%20vertical%20list&selectedStory=Droppable%20is%20a%20scroll%20container&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

Actual behavior

https://codesandbox.io/s/nr14lx21pl

Steps to reproduce

https://codesandbox.io/s/nr14lx21pl

Browser version

Chrome 65

Demo

https://codesandbox.io/s/nr14lx21pl

screencast 2018-04-20 14-55-49

@alexreardon
Copy link
Collaborator

Good find. I will work on this asap.

In the mean time if you wrap your droppable in a scroll container it should be all good.

We have lots of tests for droppables that are scroll containers, but obviously this was missed. Sadly none of our examples exercise this directly

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

No branches or pull requests

2 participants