Closed Stefan28BU closed 3 years ago
Notice the tabbar indicator has really low frame rate, Comparing to the solution I achieved using only nested scrollviews on the right profile bottom tab, however, since each screen has different height, nested scrollview would not be the best practice in my case.
No, it’s still the same. Not sure if this is a bug with Reanimated. I’m currently on RC.2, and I’m not sure if it has anything to do with the useAnimatedStyle hook. Is there any other way that I can get the screen’s scrollX other than getting it from the TabProps?
pedrobern notifications@github.com于2021年1月24日 周日下午7:40写道:
@Stefan28BU https://github.com/Stefan28BU if you set the scrollEventThrottle to 0, how does it feel? Does it get better?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/PedroBern/react-native-collapsible-tab-view/issues/47#issuecomment-766333798, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKJAATYI2KMSJBGETLAALQLS3QBLNANCNFSM4WQOMMBA .
@Stefan28BU can you make a reproducible snack?
now you can get from context on v3.1
@Stefan28BU do you have this bug on the expo preview? Because mine is perfect.
@Stefan28BU I think it's fixed in v3.6.3
, if you still have this issue please let me know.
Current behavior
I've copied the base example project into my project, except I added the scrollEventThrottle={12} to both Tab.FlatList and Tab.ScrollView. However, the blue indicator on the tabbar has low frame rate when scrolling horizontally or on pressing.
Expected behaviour
The blue indicator should animate smoothly
Code sample
Screenshots (if applicable)
What have you tried