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
In the "Tab Scalling Header" example, how to support tab page swipe left and right to switch pages, I try to use TabView to replace content, it can't show tabview content.
The text was updated successfully, but these errors were encountered:
Hey @yikibug, please note that ScalingScrollview is just a ScrollView under the hood, so it works similar to it. If content's height changes between tabs inside the scroll view, there is no way to keep scroll position nice and stable. TabView wouldn't work in a simple ScrollView, so it wouldn't work inside ScalingScrollview either.
I did try to make it work, since everyone asks for this, but TabView gives almost no control over itself (getting/setting its current position, getting tab's content height, etc.), so I can't use it in a way required to implement direct scroll's offset control for this component.
Please just implement your own swipe gestures, or do open a PR if you have an idea of approach. Have a nice day
In the "Tab Scalling Header" example, how to support tab page swipe left and right to switch pages, I try to use TabView to replace content, it can't show tabview content.
The text was updated successfully, but these errors were encountered: