Skip to content

Switch not visible with NS 3.0 on ios #4175

@ivanbuhov

Description

@ivanbuhov

From @sebawita on May 12, 2017 15:22

When I use <Switch> with NS 3.0, the component doesn't get rendered on iOS (it does work fine on Android though), however there seems to be an empty space where the UI component should be.

  <Switch
    [(ngModel)]="profile.angularPro">
  </Switch>

However when I use horizontalAlignment="left" the component appears just fine.

  <Switch
    [(ngModel)]="profile.angularPro"
    class="switch"
    horizontalAlignment="left">
  </Switch>

Copied from original issue: NativeScript/ios-jsc#764

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions