RB_Gaura
RB_Gaura13mo ago

rb_gaura – 14-09 Jul 11

Is there a way in JS to avoid getting snapped by snap-stop always
4 Replies
ScriptyChris
ScriptyChris13mo ago
What do you mean?
RB_Gaura
RB_Gaura13mo ago
basically I'm trying to programmatically scroll through an overflow list but i've set it up such that a user needs to swipe past each one at a time using snap stop always and snap mandatory so when the JS tries to scroll (at least for smooth scrolling, the only one i tried) it also gets stopped I found a workaround
ScriptyChris
ScriptyChris13mo ago
You could temporary programmatically disable scroll snap by setting it to "normal" with inline style, then do the scroll and then revert it back to original state
reactibot
reactibot13mo ago
This thread hasn’t had any activity in 36 hours, so it’s now locked. Threads are closed automatically after 36 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1128327211083112590