-
Notifications
You must be signed in to change notification settings - Fork 734
Feat/new wheel picker integration #1083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ent to be avoided
…ed option to pass selected predefined value
See my comment in the code
Instead of hacking with setTimeout. Try scrolling to initial index on FlatList's
I don't think WheelPicker can ever be fully controlled because of the way users interact with it. |
Agree, user interaction can constantly change the |
…-index instead timer
I see what you mean.. |
right. we probably going to need it |
@mendyEdri |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, don't merge yet.
Let's figure how we want to rollout this feature carefully.
@ethanshar, exactly. i've added in the jira-ticket the relevant one-app version with this fix :) |
@ethanshar, We have UX approval for including it without haptic (yet). |
Description
Integrate the new
WheelPicker
into our Picker when passinguseNativePicker
prop.WIP:
Unwanted extra space in theWheelPicker
when it's under thesafeArea
.FlatList's.initialScrollIndex
doesn't work, hacked with timer for now (could be a permanent fix)WheelPicker is not fully controlled; when passing a hard-coded data it still change when scrolling the WheelPicker,example:
<WheelPicker selectedValue={‘Java’} />
when scrolling, it's not scrolling back to the 'Java' row.Implement and check behaviour on Android.Extract finding index to presenter/other type.add unit test for WheelPicker presenter.Changelog
Integrate the new customizable
WheelPicker
into our Picker when passinguseNativePicker
prop.