12345678910111213 |
- diff --git a/node_modules/react-native-tab-view/src/TabBar.tsx b/node_modules/react-native-tab-view/src/TabBar.tsx
- index e8d0b4c..cd5a424 100644
- --- a/node_modules/react-native-tab-view/src/TabBar.tsx
- +++ b/node_modules/react-native-tab-view/src/TabBar.tsx
- @@ -405,6 +405,8 @@ export function TabBar<T extends Route>({
- // When we have measured widths for all of the tabs, we should updates the state
- // We avoid doing separate setState for each layout since it triggers multiple renders and slows down app
- setTabWidths({ ...measuredTabWidths.current });
- + } else {
- + setTabWidths({ ...measuredTabWidths?.current });
- }
- }
- : undefined,
|