-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overflow hidden property on View not working #399
Comments
needs label |
@AkshatGiri : This is not an easily solvable issue. Empirically, it is easily fixed by overriding Internally at Microsoft, we had a scenario that called for overflow:hidden on a View that was masking an Image and Text with a circular mask. Android also does not support overflow:hidden (or at least it used to not). Our workaround for Android and macOS was putting the border radius on the Image, and setting the background of the Text to transparent. Could a similar workaround work for you? |
Setting the border radius on the image no longer works after upgrading to 0.61.38 because the Any idea why this doesn't work out of the box though? Or what the "right way" to solve this is supposed to be? Also, |
* Fix overflow:'hidden' github issue #399 (attempt 2) * Update React/Views/RCTView.m * Fix comment nit
Should this remain open since #457 was merged? |
It seems like this should be resolved. @AkshatGiri feel free to reopen if it still repros |
* bring over overflow fix to our stable branch * manually update version for android publish steps
Issue
Children views overflow parent view even when style property
overflow
is set tohidden
.Steps to Reproduce
Child view overflows the bounds of the parent view.
Expected Behavior
should result in
The text was updated successfully, but these errors were encountered: