picker
picker copied to clipboard
Expose event for when a new item is in focus?
If it's not the case already, is there any way expose an event for when a new item comes into focus, on iOS?
(Or, can onValueChange be triggered?)
-
It seems that when an array of
Picker.Itemelements is updated,onValueChangeis not triggered. -
onValueChangeonly seems to fire when the Picker is manually adjusted via user interaction.
The current behavior causes the Picker selectedValue to be inconsistent with what is visually highlighted.
The issue occurs with the EndpointPicker, in the following open-source git repo:
https://github.com/sync-for-science/discovery-mobile-ui/
The current behavior actually seems like a bug:
I would expect that whatever is focused/highlighted in the Picker should always be aligned with the Picker selectedValue.