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

Fix the weird moving of the card when it's being dragged and dropped #54

Open
Flaburgan opened this issue Oct 29, 2024 · 1 comment
Open

Comments

@Flaburgan
Copy link
Owner

When we drag the card between the others, and also when it is dropped in a wrong place and is automatically moved to the good one, the animation is weird

@Flaburgan
Copy link
Owner Author

ff4a50e is helping a bit with this, if the player is dropping the card on the empty - or + area the card is correctly placed.

That does not solve the main issue still, which is that the cards are basically misplaced of half their width by Beautiful DND. When dropped, the card first cover half of the card on its right, before moving back to its good place. This is looking weird. The official example for Horizontal drag'n'drop doesn't have the issue. I guess it's my custom CSS which is causing this, but I don't understand where this is coming from. Any help is appreciated.

There is also an issue with the newly picked card, which is appearing low in the screen instead of in the popping area, and then move there.

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

1 participant