Open Lurtroxx opened 1 month ago
Couldn't find version numbers for the following packages in the issue:
@react-navigation/drawer
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
@react-navigation/native
(found: 6.0.13
, latest: 6.1.17
)@react-navigation/bottom-tabs
(found: 6.4.0
, latest: 6.5.20
)@react-navigation/stack
(found: 6.3.4
, latest: 6.3.29
)Can you verify that the issue still exists after upgrading to the latest versions of these packages?
The versions mentioned in the issue for the following packages differ from the latest versions on npm:
@react-navigation/native
(found: 6.0.13
, latest: 6.1.17
)@react-navigation/bottom-tabs
(found: 6.4.0
, latest: 6.5.20
)@react-navigation/stack
(found: 6.3.4
, latest: 6.3.29
)Can you verify that the issue still exists after upgrading to the latest versions of these packages?
@github-actions Updated!
Yes the issue still happens after updating these packages.
Current behavior
When using a SVG icon in a Material Top Tab Navigator there is some sort of layout shift going on, as you can see the icons render stacked on top of each-other to the left, and then shift their layout to the correct position.
https://github.com/react-navigation/react-navigation/assets/32040179/c52ec0ce-d470-49a7-9e9a-f97dbf5f7c7c
Expected behavior
MaterialTopTabNavigator Icons should not shift layout, but rather render in their correct place, within the center of each material top tab item.
Reproduction
https://github.com/Lurtroxx/toptabtestexpo
Platform
Packages
Environment