Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Toggle Switches don't change #71

Closed
iRoachie opened this issue Dec 18, 2018 · 2 comments · Fixed by #91
Closed

Toggle Switches don't change #71

iRoachie opened this issue Dec 18, 2018 · 2 comments · Fixed by #91

Comments

@iRoachie
Copy link
Collaborator

Explain what you did
I've been playing with the demonstration app using my Huawei Mate 10 Pro via Expo. On the Component form the binary toggle switch and the segmented control do not change when pressed.

Expected behaviour
I expect the input state to change

Describe the bug
Pressing the toggle switch just flashes, its state does not change (visually at least)

This effects

  • Toggle Switch
  • Segmented Control
  • Checkbox

To Reproduce
Open the demo app on Expo, scroll down to the Switch row on the Components view. Tap it!

Possible Solution
Can you suggest a possible fix that would address this issue?

Screenshots
If applicable, add screenshots to help explain your problem.

Your Environment (please complete the following information):

Huawei Mate 10 Pro
Android 8.0.0

@iRoachie
Copy link
Collaborator Author

iRoachie commented Dec 18, 2018

Transferred from react-native-elements/react-native-elements#1674

@anthonycmain
Copy link

Link doesnt work

shant24k added a commit to shant24k/react-native-elements-app that referenced this issue Oct 10, 2019
shant24k added a commit to shant24k/react-native-elements-app that referenced this issue Oct 14, 2019
iRoachie pushed a commit that referenced this issue Oct 18, 2019
* #71 ListItem Toggle switches fix

* #71 ListItem switches issue fix updated with react hooks usage
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants