Skip to content

Commit 40554f7

Browse files
authored
android: Remove menu-items clipChildren=false which causes flickering (#7860)
1 parent 9d627a9 commit 40554f7

File tree

1 file changed

+0
-7
lines changed
  • lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar

1 file changed

+0
-7
lines changed

lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar/ButtonBar.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ open class ButtonBar internal constructor(context: Context) : Toolbar(context) {
2525

2626
override fun onViewAdded(child: View) {
2727
super.onViewAdded(child)
28-
enableOverflowForReactButtonViews(child)
29-
}
30-
31-
private fun enableOverflowForReactButtonViews(child: View) {
32-
if (child is ActionMenuView) {
33-
(child as ViewGroup).clipChildren = false
34-
}
3528
}
3629

3730
override fun setLayoutDirection(layoutDirection: Int) {

0 commit comments

Comments
 (0)