-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Drag from outside is missing placeholder #1152
Comments
I'm also experiencing this problem. |
me too |
me too |
I have the same issue. This also means that the rest of the layout doesn't shift in response to dragging it over items. |
Also running into this, it seems to me that this line should trigger an update to state (probably activeDrag or something like it) but instead, it just modifies a local variable, which doesn't trigger any render. I might dig in later to try to understand what the appropriate response should be, if i get some time. |
I would assume these changes are due to the performance improvements in 0.18, so I'd like to figure out a way to maintain performance but also get the placeholder working. |
Fixes react-grid-layout#1152. When a drag event happens from an external element, we should mimic the drag activity.
I've submitted a PR to fix this. @STRML let me know if there are any changes needed, I know this issue is blocking me from using this library entirely. |
@STRML any idea when this might be released? Just want to know if I should fall back to 0.17 or wait for the newest 0.18. |
Good call. Released |
Run /examples/15-drag-from-outside.html using version 0.18.x and note that the placeholder doesn't show up at all like it does in v0.17: https://strml.github.io/react-grid-layout/examples/15-drag-from-outside.html
The text was updated successfully, but these errors were encountered: