Skip to content

Commit

Permalink
android: Remove menu-items clipChildren=false which causes flickering (
Browse files Browse the repository at this point in the history
  • Loading branch information
d4vidi authored Mar 20, 2024
1 parent 9d627a9 commit 40554f7
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 40554f7

Please sign in to comment.