Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indicator borderRadius doesn't work with tabBarItemStyle width: 'auto' #11992

Open
4 of 12 tasks
i-yusuf opened this issue May 18, 2024 · 1 comment
Open
4 of 12 tasks

Comments

@i-yusuf
Copy link

i-yusuf commented May 18, 2024

Current behavior

Border radius of indicator is not respected when tabStyle width is set to auto. Works okay when not using tab width auto.

Expected behavior

Should be set borderRadius

Reproduction

https://snack.expo.dev/bv-tYkJEnj_hDq5fe2n_i

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • @react-navigation/native-stack
  • react-native-tab-view

Environment

  • I've removed the packages that I don't use
package version
react-native-tab-view 4.0.0-alpha.10
react-native-pager-view 6.3.0
Copy link

Couldn't find version numbers for the following packages in the issue:

  • @react-navigation/native

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-native-tab-view (found: 4.0.0-alpha.10, latest: 3.5.2)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant