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
{{ message }}
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
index parameter in navigationState is ignored. You can swipe and change tab even when index is set to constant value.
Expected behavior
TabView is showing tab with given index
as from documentation:
onIndexChange (required)
Callback which is called on tab change, receives the index of the new tab as argument. The navigation state needs to be updated when it's called, otherwise the change is dropped.
so, preventing index chande sould result in preventing tab switch
Current behavior
index parameter in navigationState is ignored. You can swipe and change tab even when index is set to constant value.
Expected behavior
TabView is showing tab with given index
as from documentation:
so, preventing index chande sould result in preventing tab switch
Reproduction
https://snack.expo.dev/CV5lqoORhN
Platform
Environment
The text was updated successfully, but these errors were encountered: