You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a scenario in which I need to use SwitchButton as indicator, without capability to click on it and change it's state. But click in the area of switch should be handled by component below it, like usual in Android.
I've created two switches, one native and one SwitchButton:
Click on the native Android switch does nothing to it and is handled by component underneath. But SwitchButton ignores clickable and focusable config and changes state when clicked / moved.
Right now we've to create workaround with listeners to manually prevent state change and pass click event to other view.
Tested on version 1.4.2.
The text was updated successfully, but these errors were encountered:
We have a scenario in which I need to use SwitchButton as indicator, without capability to click on it and change it's state. But click in the area of switch should be handled by component below it, like usual in Android.
I've created two switches, one native and one SwitchButton:
Click on the native Android switch does nothing to it and is handled by component underneath. But SwitchButton ignores clickable and focusable config and changes state when clicked / moved.
Right now we've to create workaround with listeners to manually prevent state change and pass click event to other view.
Tested on version 1.4.2.
The text was updated successfully, but these errors were encountered: