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
Thanks for the awesome library.
I'm having 10 steps in my app. Current layout only shows 4 steps. I'm assigning currentcount via onCreate(). But I tried smoothScrollToStep to 6. But it is not scrolling to 6th step...
The text was updated successfully, but these errors were encountered:
drmkraja
changed the title
smoothScrollToStep & scrollToStep are not working ?
smoothScrollToStep & scrollToStep are not working in onCreate ?
Jul 15, 2020
It is a bug. I looked at the code and the problem is that it the scroll positions are using drawingData which only available after onLayout and it also resets after changing a property.
So it only works after onLayout has been called and then only until a property is modified.
(eg if you have a "Next" button then you need to do the scrolling first and then call setCurrentCount after that)
Thanks for the awesome library.
I'm having 10 steps in my app. Current layout only shows 4 steps. I'm assigning currentcount via onCreate(). But I tried smoothScrollToStep to 6. But it is not scrolling to 6th step...
The text was updated successfully, but these errors were encountered: