You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure this is user error, the first time I call it works perfect, the second time+ calls scroll.scrollTo with a different number of pixels but nothing happens, I basically do:
import Scroll from 'react-scroll';
var scroll = Scroll.animateScroll;
scroll.scrollTo(Math.random()*1000, {containerId: 'right'}); //math random to demonstrate.
I can console log all the way to the pixel input provided to scrollTo and there are no errors, what might I be missing?
The text was updated successfully, but these errors were encountered:
I'm sure this is user error, the first time I call it works perfect, the second time+ calls scroll.scrollTo with a different number of pixels but nothing happens, I basically do:
import Scroll from 'react-scroll';
var scroll = Scroll.animateScroll;
scroll.scrollTo(Math.random()*1000, {containerId: 'right'}); //math random to demonstrate.
I can console log all the way to the pixel input provided to scrollTo and there are no errors, what might I be missing?
The text was updated successfully, but these errors were encountered: