react-native: [Android] Overflow does not work and is inconsistent with iOS

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment: Expo SDK 23 (RN 50)

Steps to Reproduce

Use this minimal Expo Snack

Expected Behavior

The children elements of the Snack should overflow their parent container (I think), or at least both platforms should handle that Snack consistently which is not the case.

Actual Behavior

The platforms are inconsistent with each others when using the exact same code.

image

image

Reproducible Demo

Use this minimal Expo Snack

Additional notes

There has been changes regarding overflow: hidden on Android that probably shipped with RN50, so it may be a regression. As far as I know it has been noticed as a regression in my app when updating from Expo22 to Expo23 (which use RN50).

I tried using zIndex, position absolute, transforms, overflow visible, collapsable=falseā€¦ nothing made the inner views overflow correctly on Android.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 22
  • Comments: 22 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Any updates on this?

+1 I am using RN 0.51.0 still same issue