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
After scrollToPage it calls scrollToPage second time and goes back to 0 page.
Quick hack to override this issue (hopefully we can see a fix next version and we don't need this dirty hack):
//Set scrollState to 1 before scrolling
pager.current.scrollState = 1;
pager.current.scrollToPage(0, false)
//Make scrollState to 0 zero after scroll will finish
setTimeout(() => {
pager.current.scrollState = 0
}, 100)
Thanks!!!
The text was updated successfully, but these errors were encountered:
scrollToPage doesn't work when animated = false. That happens because of this:
After scrollToPage it calls scrollToPage second time and goes back to 0 page.
Quick hack to override this issue (hopefully we can see a fix next version and we don't need this dirty hack):
Thanks!!!
The text was updated successfully, but these errors were encountered: