Skip to content

Shadow offset of elevation increases if used multiple times #15832

@felixmusmann

Description

@felixmusmann

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-

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions