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
It seems like if you're scrolled down on a scrollable Card, and you create and show another scrollable Card on top of that, the scroll position of the new Card starts at the point you were scrolled on the old Card, instead of at the top. This creates further issues if your second Card is shorter than the first.
The text was updated successfully, but these errors were encountered:
This also happens if you have a scrollable Card, push another scrollable Card (with longer contents) and then return from the second Card with the back button. If you have scrolled far enough to the second Card's content, nothing seems to happen when you press back. (But press up and the first Card's content appears.)
I just made a fix, but it may be a little disorienting since it animates the scroll. There's an issue with scroll_layer_set_content_offset where if called with animation set to false, it won't cancel the existing scrolling animation. The alternative is to destroy the scroll layer and recreate it, but that's tricky, so the work around I employed is simply animate back to the top. It'll be fixed in the future. Let me know how this fix works for you guys.
It seems like if you're scrolled down on a scrollable Card, and you create and show another scrollable Card on top of that, the scroll position of the new Card starts at the point you were scrolled on the old Card, instead of at the top. This creates further issues if your second Card is shorter than the first.
The text was updated successfully, but these errors were encountered: