dragConstraints function stop working after scrollIntoView #2117
Unanswered
thanhtutzaw
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was making draggable tabs with drag{x} and
dragConstraints={{ right: 0, left: container.current?.clientWidth! - tabTotalWidth.current?.clientWidth! - padding, }}it works perfectly until click with scrollIntoView
I just want to transform x when clicked tabitem
You can test here as test User https://todolistzee3.netlify.app
Beta Was this translation helpful? Give feedback.
All reactions