-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Issue dropping below last item #49
Comments
Also, note when dragging how the dragged image is reduced in size - I don't mind this but don't know what's causing or how to prevent it. |
I added CSS to make the drag container ( |
Thanks @loren138, would you mind explaining a little more on what you did in order to make drag container taller. I have messed around with margin and padding which didn't help solve the issue. My HTML code looks like:
|
This is also my biggest issue with this library (which I otherwise think is great by the way!). There simply is no good way to handle drops outside a container. I think this is the same issue as: #42.
So the remaining option is to add your own event-listeners to handle drops, on-top of the drag-drop-library you just installed. It feels just a tad silly. edit: It looks like onDropReady (available in |
@colinbes I just set the height of my containers to a fixed height. (250px) in my case. |
Thanks @loren138 , sadly this issue rules out using this code. I will try take a closer look this coming week to see if I can figure something out. |
Same issue here! It would've been awesome if it was possible to make items movement restricted within the drop area. That would completely solve the issue. Also, making it possible to fall back to the latest valid drag position, would complete this amazing library |
Was wondering if there was any further development/input to this issue as I am still unable to reliably move/copy item after container's last item. |
Hey all, |
@kutlugsahin I created a quick and dirty example of issue at https://codesandbox.io/s/q8j93v8wl9?fontsize=14. |
I have the same error in my project. I'm trying to recreate a drag and drop feature inside a group of tables. <q-list> //<--main container
<table v-for="..." > //<--main draggables
<tbody> //<--nested container
<tr v-for="..." .../> //<--nested draggable The main draggables works great! Problems comes inside the tbody. |
Thanks @vandelpavel. I had same issue I solved by converting from |
First, great project.
I have followed table demo to create a table that I can drop items from different container as well as move order around in table.
Issue I am having is that if I try drag and drop below last row it often fails and just 'bounces' back to original position.
I have attached screenshots attempting to show issue.
I am using bootstrap and don't know if this is somehow causing issue but initial thoughts are it isn't.
The text was updated successfully, but these errors were encountered: