callstack / react-native-paper

Material Design for React Native (Android & iOS)
https://reactnativepaper.com
MIT License
12.49k stars 2.05k forks source link

Button showing weird behaviour #4432

Open avtarvikas opened 3 weeks ago

avtarvikas commented 3 weeks ago

Current behaviour

I am using react-native-paper Button in gorhom/bottom-sheet Sometimes the text inside the button disappears, sometime it shows partially

Expected behaviour

Text should be shown always

Preview

Screenshot 2024-06-11 at 4 11 36 PM Screenshot 2024-06-11 at 4 11 23 PM Screenshot 2024-06-11 at 4 11 08 PM

What have you tried so far?

I tried fixing up with line height and margin vertical.

Your Environment

software version
react-native 0.73.1
react-native-paper 5.11.4
node 21.7.3
@gorhom/bottom-sheet 4.6.1
VolodymyrDubnytskyi commented 2 weeks ago

@avtarvikas, could you please provide a reproducible demo of the issue? It's challenging to diagnose based solely on the screenshots and description.

Thank you!