Open foxtree opened 2 years ago
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?)
onValueChange
It seems that when an array of Picker.Item elements is updated, onValueChange is not triggered.
Picker.Item
onValueChange only 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.
Picker
selectedValue
The issue occurs with the EndpointPicker, in the following open-source git repo: https://github.com/sync-for-science/discovery-mobile-ui/
EndpointPicker
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.
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.Item
elements is updated,onValueChange
is not triggered.onValueChange
only 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/