react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

Can't control the overflow of the tabBar in order to set a button to absolute position (float button)

Open ilyesrd opened this issue 5 years ago • 2 comments

I upgraded react-native-paper for a project from version 2.3.0 to the latest version (4.7.2), at that time I was able to make a floating button using position: 'absolute' for a custom component in tabBarIcon ... and overflow: 'visible' for barStyle props, but now it doesn't work.

I checked and found that if we change the overflow to visible instead of hidden in this two lines:

https://github.com/callstack/react-native-paper/blob/main/src/components/BottomNavigation.tsx#L943 https://github.com/callstack/react-native-paper/blob/main/src/components/BottomNavigation.tsx#L949

the button could be floating.

Could any one give me a hint or fix this problem?

ilyesrd avatar Apr 06 '21 12:04 ilyesrd

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

  • react-native
  • react-native-paper
  • react-native-vector-icons

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

github-actions[bot] avatar Apr 06 '21 12:04 github-actions[bot]

Hello 👋, this issue has been open for more than 2 months with no activity on it. If the issue is still present in the latest version, please leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution on workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix the issue.

github-actions[bot] avatar Jun 06 '21 00:06 github-actions[bot]