Skip to content

Ability to apply background color for UI Switch in "off" state in IOS #7095

@NickIliev

Description

@NickIliev

@M-kothakapu commented on Sat Mar 30 2019

Environment

  • NativeScript-Angular

Describe the bug
I'm working on Nativescript Switch component. I found an issue while applying background colors when the switch state is ON/OFF (i.e, checked or unchecked).
Based on checked property, The background color of Switch should change.

Expected behavior

  Background Color should change when checked property is false (off state).

Current behavior

 Background color is not applied to OFF state (unchecked) behavior of Switch.  

Sample project
https://play.nativescript.org/?template=play-ng&id=8DLLBY&v=14�

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions