On my desktop (using a mouse), neodrag behaves flawlessly. However, when I visited the page on my phone, the calculation logic of the touch pointer didn't work. I don't know if I'm doing something wrong or if it is a bug.
Go to the preview tab on the Svelte repl to see the demo
Touch the handle and without releasing, move your finger/mouse up or down
See error
Note: If you visit the link from your desktop & then you open the mobile emulator from devtools, you might have to refresh the page so that the isTouchDevice variable updates correctly.
OS: Windows 11 & Android
Browser: Chrome Desktop & Android
On my desktop (using a mouse), neodrag behaves flawlessly. However, when I visited the page on my phone, the calculation logic of the touch pointer didn't work. I don't know if I'm doing something wrong or if it is a bug.
Related: https://github.com/PuruVJ/neodrag/pull/134
Reproduction:
Note: If you visit the link from your desktop & then you open the mobile emulator from devtools, you might have to refresh the page so that the
isTouchDevice
variable updates correctly.OS: Windows 11 & Android Browser: Chrome Desktop & Android