From 40554f725b0c45ec76780bdd91999a39fda16a46 Mon Sep 17 00:00:00 2001 From: d4vidi Date: Wed, 20 Mar 2024 20:38:19 +0200 Subject: [PATCH] android: Remove menu-items clipChildren=false which causes flickering (#7860) --- .../views/stack/topbar/titlebar/ButtonBar.kt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar/ButtonBar.kt b/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar/ButtonBar.kt index c17afc67757..34efb85d9e0 100644 --- a/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar/ButtonBar.kt +++ b/lib/android/app/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar/ButtonBar.kt @@ -25,13 +25,6 @@ open class ButtonBar internal constructor(context: Context) : Toolbar(context) { override fun onViewAdded(child: View) { super.onViewAdded(child) - enableOverflowForReactButtonViews(child) - } - - private fun enableOverflowForReactButtonViews(child: View) { - if (child is ActionMenuView) { - (child as ViewGroup).clipChildren = false - } } override fun setLayoutDirection(layoutDirection: Int) {