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

verticalAlignment "middle" and "center" crash the app on Android · Issue #1822 · NativeScript/NativeScript · GitHub

verticalAlignment "middle" and "center" crash the app on Android #1822

Description

We discovered that these two values crash the app on Android. I found that it happens because of bad case-statement that looks like this:

case VerticalAlignment.center || VerticalAlignment.middle:

The default case picks up everything that doesn't match and raises an error for an unrecognized option.

Affected files:

  • ui/core/view.android.ts
  • ui/core/view-common.ts
  • ui/layouts/stack-layout/stack-layout.ios.ts

I'm submitting PR to resolve this in a minute.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL