Skip to content

Commit 3532047

Browse files
authored
Fix button not showing on react-native 0.54 and newer
On newer react native versions, height and vertical padding doesn't work well together, at least on iOS.
1 parent 58ed2b1 commit 3532047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ let style = StyleSheet.create({
4545
position: 'absolute',
4646
top: 0,
4747
height: 42,
48-
padding: 20,
48+
paddingHorizontal: 20,
4949
flexDirection: 'row',
5050
alignItems: 'center',
5151
justifyContent: 'center'

0 commit comments

Comments
 (0)