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

Dynamically created droppable with auto scrolling on drag #385

Closed
nicubarbaros opened this issue Mar 15, 2018 · 3 comments
Closed

Dynamically created droppable with auto scrolling on drag #385

nicubarbaros opened this issue Mar 15, 2018 · 3 comments

Comments

@nicubarbaros
Copy link

Hey community, thanks for the auto-scrolling. It's just what we need to create a better experience with the calendar I am building. However, I am facing a small problem. I could not find it in the opened/closed issues.

So my plan is to add new weeks/months to the calendar while I scroll. Each day/cell it is a droppable and the things inside are draggables.

Bug or feature request?

Bug

Expected behavior

Expected behavior is to keep scrolling after the new droppable/s was/where rendered

Actual behavior

It looks like the system does not know about the newly loaded droppable/s and does not want to autoscroll further after the new week was added.

Steps to reproduce

Load new droppable as you scroll down or up.

Browser version

Chrome Version 65.0.3325.162 (Official Build) (64-bit)

Demo

http://recordit.co/h2F82mhZyj

@nicubarbaros
Copy link
Author

Update:
getting this error
Cannot scroll a droppable with no closest scrollable

@alexreardon
Copy link
Collaborator

We do not currently support adding Droppable or Draggable components after a drag has started. We will be adding support for this as a part of #68

@nicubarbaros
Copy link
Author

Ahh too bad. Thanks anyway.

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