Skip to content
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

Shadow offset of elevation increases if used multiple times #15832

Closed
felixmusmann opened this issue Sep 6, 2017 · 6 comments
Closed

Shadow offset of elevation increases if used multiple times #15832

felixmusmann opened this issue Sep 6, 2017 · 6 comments
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@felixmusmann
Copy link

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Partly

Environment

  1. react-native -v: react-native-cli: 2.0.1
    react-native: 0.47.1
  2. node -v: v8.4.0
  3. npm -v: 5.4.0
  4. yarn --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.
screenshot_1504700088

Reproducible Demo

https://snack.expo.io/r1htOvaK-

@stale
Copy link

stale bot commented 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.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Nov 5, 2017
@stale stale bot closed this as completed Nov 12, 2017
@slorber
Copy link
Contributor

slorber commented Jan 24, 2018

also have this issue... any idea or workaround available?

@raymondchooi
Copy link

I also have the same issue when elevation is used on items in a list

@slorber
Copy link
Contributor

slorber commented 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
Copy link
Author

@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
Copy link

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

@facebook facebook locked as resolved and limited conversation to collaborators Nov 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

4 participants