Event callback
usb248 opened this issue ยท 2 comments
usb248 commented
Hi,
Any callback for scrollIntoView end event ? Why ? I need to do some stuff after ending of scrollIntoView. (no i don't want to do an ugly setTimeout())
Thanks for your lib ! ๐
albertogasparin commented
Have you tried using the custom events that Optiscroll fires? You can bind once scrollstop
before triggering scrollIntoView
and that should act like a callback, fired whenever scrollIntoView
completes its animation
usb248 commented
Hmm okey I thought that this event is fired only by user interaction (like the doc mentions it). I will try it. Thanks