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 committed Mar 20, 2024
1 parent 8a31c1f commit e7cbabf
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 e7cbabf

Please sign in to comment.