taye / interact.js

JavaScript drag and drop, resizing and multi-touch gestures with inertia and snapping for modern browsers (and also IE9+)
http://interactjs.io/
MIT License
12.32k stars 783 forks source link

Snapping not working #986

Open akshata456 opened 1 year ago

akshata456 commented 1 year ago

I used this library for dragging and resizing, which is working very well .but tried dragging via an external handle here dragging is working but snapping not working.I provide here a small demo please check and correct me if I'm wrong .thanks in advance.

https://codesandbox.io/s/romantic-murdock-wehmbu?file=/src/App.js here if you try dragging via top left corner box and see snapping didn't work.

Expected behaviour

snapping should work here

Actual behavior

snapping not working

System configuration

interact.js version:^1.10.17 Browser name and version:Brave 1.44.112 Operating System:mac