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

Draggable item sliding away from the mouse while dragging over the slots #124

Open
DmitryFX opened this issue Jan 30, 2025 · 1 comment
Open

Comments

@DmitryFX
Copy link

DmitryFX commented Jan 30, 2025

Pretty nice library, but seems to contain a bug, shown in a video.
Nothing special in html/css, no absolutely positioned elements, etc.

The same behaviour without a specified data-swapy-handle
Item slides away only when dragging over the other slots. Dragging it in-out it's original slot works as expected.

Swapy 1.0.5

swappy.mp4
@loudoweb
Copy link

I have the same issue. It doesn't occur everytime.
On my app, the issue adds horizontal gap each time I drag on other item and sometimes it auto fixes it. Really weird.
My elements are positionned in a flex row container.
Hope that helps.

Keep up the good work.

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