callstack / callstack/react-native-paper

Button showing weird behaviour

Open
#4,432 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

### 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](https://github.com/callstack/react-native-paper/assets/24918249/24a2d7a9-311b-418f-aef1-ff0755256e99)
![Screenshot 2024-06-11 at 4 11 23 PM](https://github.com/callstack/react-native-paper/assets/24918249/cf0f6f9a-a032-4a90-916b-e7dfe5a8a8a2)
![Screenshot 2024-06-11 at 4 11 08 PM](https://github.com/callstack/react-native-paper/assets/24918249/68a6ab5c-380b-402a-a812-306611a375d9)

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.