Shadow offset of elevation increases if used multiple times #15832
Copy link
Copy link
Closed
Labels
StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Partly
Environment
react-native -v: react-native-cli: 2.0.1
react-native: 0.47.1node -v: v8.4.0npm -v: 5.4.0yarn --version:
Then, specify:
- Target Platform: Android
- Development Operating System: macOS
- Build tools:
Steps to Reproduce
(Write your steps here:)
Use same elevation in style property of multiple elements.
Expected Behavior
Every element should have the same shadow.
Actual Behavior
The shadow offset increases with same elevation.

Reproducible Demo
Metadata
Metadata
Assignees
Labels
StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Activity
stale commentedon Nov 5, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.
slorber commentedon Jan 24, 2018
also have this issue... any idea or workaround available?
raymondchooi commentedon Apr 24, 2018
I also have the same issue when elevation is used on items in a list
slorber commentedon Apr 26, 2018
Reopened a new issue as this one got closed while the bug is still there.
#19033
@franticBIT did you find a workaround that you could share?
felixmusmann commentedon Apr 26, 2018
@slorber Unfortunately not, since it wasn't the most urging issue of the project. But I hope this will get resolved, if more people are having the same issue.
Bonobomagno commentedon May 25, 2018
yep, issue still here.
The main problem is the absence to shadow border control in android. If you can add elevation but also disabling the shadow, (or just add the shadow without elevation, using zIndex in both android and ios) this problem issue be easy closed