-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
BugHelp Wanted
Issues ideal for external contributors.Issues ideal for external contributors.Platform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Description
If the picker item list changes, then, in some cases, the picker will call the onValueChange
callback with the first item in the list as it's argument.
Reproduction Steps and Sample Code
This can be reproduced at https://snack.expo.io/Sy1JClEag.
Select 2 or 3, then click on exclude. The new value is 1. This does not happen if you select a higher value than the one being excluded
Solution
Do not call the onValueChange
callback when the items list changes, but the selectedValue
is stil present in the list
Additional Information
- React Native version: 0.42
- Platform: Android
- Development Operating System: Linux
- Dev tools: Android SDK version 23
atroberg, Minishlink, wv1124, joshuapinter, ethan6077 and 29 more
Metadata
Metadata
Assignees
Labels
BugHelp Wanted
Issues ideal for external contributors.Issues ideal for external contributors.Platform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.