Closed Sharlaan closed 1 year ago
Hi @Sharlaan, thank you for the comment.
Sorry, your code is difficult for me, then I couldn't understand that well.
Anyway, the example in the document is very simple. You can read that in the source code.
Also, you seem to be mistaking some options snap
, onDrag
, etc. For example, you should specify length of each tab for step
.
Please read document more for the options.
I inspected official site code and "simply" reused code from devTools: then tries to invert from Y to X axis, from "top" to "left", etc...
Yes, that is better. :smile:
No reply came, then this abandoned issue is closed.
Hello @anseki awesome job with this lib 👏
I'm willing to provide an example of horizontal dragging (like with browsers tabs), reproducing the example 230 (vertically stacked elements) from the official page.
Here is my WIP @ Codesandbox : https://codesandbox.io/s/horizontal-draggable-tabs-plain-draggable-corttc?file=/index.js
I have mostly 3 problems:
Can you help please ?
Thanks in advance !
PS: feel free to use this codesandbox in your official site ;)