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
Open the picker and scroll from top to bottom and click OK before the picker stops animating / lands on an item - see gif.
Please not it does happen every single time, it only happens when you do this really quickly.
What is expected?
Either the last item is selected or the first item is selected.
I'd expect the onOK event to pass through the value of the first picker item (because scrolling to the last didn't finish) but I'd expect onChange event to have the value of the last picker item.
What is actually happening?
The last item is selected on the picker popup but the first (or current value) is select on the top level picker.
Both the onChange and onOk event passes the value of the first picker item - however the picker view shows the last picker item as selected
The text was updated successfully, but these errors were encountered:
@leedriscoll Could test this on the latest beta version via yarn add @ant-design/react-native@next
if still have the problem please reopen this issue. 😄
Version
2.1.8
Environment
iOS11 and Android
Steps to reproduce
What is expected?
Either the last item is selected or the first item is selected.
I'd expect the onOK event to pass through the value of the first picker item (because scrolling to the last didn't finish) but I'd expect onChange event to have the value of the last picker item.
What is actually happening?
The last item is selected on the picker popup but the first (or current value) is select on the top level picker.
Both the onChange and onOk event passes the value of the first picker item - however the picker view shows the last picker item as selected
The text was updated successfully, but these errors were encountered: