FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

elevation requires explicit dynamic elevation offset · Issue #7249 · NativeScript/NativeScript · GitHub

elevation requires explicit dynamic elevation offset #7249

Description

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.4.0
  • Cross-platform modules: 5.4.0
  • Android Runtime: 5.4.0

Describe the bug
Setting View.androidElevation property should not require explicitly setting View.androidDynamicElevationOffset property (it should use its respective default value instead).

To Reproduce

<Button text="TAP" height="80" width="200" style="android-elevation: 0;" />

No shadow on tap (unless android-dynamic-elevation-offset is set as well).
Expected behavior
Default dynamic elevation offset (i.e. shadow) should be applied on button tap.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL