Skip to content

Commit ad0ca17

Browse files
authored
fix(android): first screen being blank (#283)
1 parent 6f01d7f commit ad0ca17

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/angry-dingos-hug.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'react-native-bottom-tabs': patch
3+
---
4+
5+
fix: first screen is blank

packages/react-native-bottom-tabs/android/src/main/java/com/rcttabview/RCTTabView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class ReactBottomNavigationView(context: Context) : LinearLayout(context) {
8080
))
8181

8282
post {
83-
layoutHolder.addOnLayoutChangeListener { _, left, top, right, bottom,
83+
addOnLayoutChangeListener { _, left, top, right, bottom,
8484
_, _, _, _ ->
8585
val newWidth = right - left
8686
val newHeight = bottom - top

0 commit comments

Comments
 (0)