-
Notifications
You must be signed in to change notification settings - Fork 423
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
feat: show a shadow element of the row being moved/dragged #651
Conversation
ghiscoding
commented
Oct 21, 2021
•
edited
Loading
edited
- add option to create a simple clone of the row being moved and show it as a shadow (cloned element) of the row being moved so that we know exactly which row is being dragged (it follow the mouse cursor and once we stop moving it gets destroyed)
- also add options to change this shadow element opacity & scale size
- it's a simple feature but is very helpful to not lose track of exactly which row we're dragging
- add option to create a simple clone of the row being moved and show it as a shadow of the row being moved so that we know exactly which row is being dragged
Looks good to me. Nice little feature ... |
@6pac thanks, I'm done with it, so feel free to merge EDIT |
@6pac |
- when starting the row drag at first it always starts at 0px and then jumps at the position the user started the drag so it looks like it jumps from 0px to let 50px if you move 2nd row and it's a bit annoying (it's like a flicker for half a second). We can simply create the proxy/guide/shadow as hidden and only show it after we move so we won't see the first flicker.