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
Tapping twice on a tab freezes the tab bar. This is due to the RNCPagerView implementation setting self.animating = true; in the goTo method, which is never reset back to false when you tap on the same tab twice.
Reproducible Demo
Tap twice on a tab and see the tab bar frozen.
Potential fix
I believe self.animating = true; could be conditionally set only when the index and current page differ i.e. [self getCurrentPage] != index in the goTo method.
The text was updated successfully, but these errors were encountered:
Environment
iOS 17.2
react-native-pager-view: v7.0.0-rc.1
react-native-tab-view: 3.3.0
Description
Tapping twice on a tab freezes the tab bar. This is due to the
RNCPagerView
implementation settingself.animating = true;
in thegoTo
method, which is never reset back tofalse
when you tap on the same tab twice.Reproducible Demo
Tap twice on a tab and see the tab bar frozen.
Potential fix
I believe
self.animating = true;
could be conditionally set only when the index and current page differ i.e.[self getCurrentPage] != index
in thegoTo
method.The text was updated successfully, but these errors were encountered: