-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Android view shadow increase while using same elevation #19033
Comments
Thanks for posting this! It looks like your issue may be missing some necessary information. Can you run Thank you for your contributions. |
This issue is there for a long time. It has already been reported but always closed by stale bot while it was still reproducible. I'm reopening it as it's clearly still there and won't disappear magically. See original closed issue: |
not sure exactly why but sometimes I get a correct behavior when I remove the view borders and only use elevation+background. And some other times the same setup lead to elevation not working everywhere (actually it seems to work at first and then the elevation disappear, except in the bottom) |
Hmmmm actually it seems to always work fine with a background, but due to android not supporting overflow, the shadow can be clipped. Adding a parent with some padding can help (here I'm applying shadows to FlatList items) Also this solution of @sibelius can be a nice alternative: https://medium.com/entria/solving-view-overflow-in-android-reactnative-f961752a75cd |
Isn't it how |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
Steps to Reproduce
deleted: sorry the original code was copied from #15832 and the snack was actually an hello world
Expected Behavior
All shadows should be the same
Actual Behavior
The shadow is increasing in a weird way:
The text was updated successfully, but these errors were encountered: