Skip to content
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

Get intermediary wheel picker values #32

Open
andre00nogueira opened this issue May 17, 2023 · 0 comments
Open

Get intermediary wheel picker values #32

andre00nogueira opened this issue May 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@andre00nogueira
Copy link

Hello!
First of all, let me thank you for this super cool and handy library!
I was wondering if there is a way for onSnappedDateTime to account for the intermediary values as the user scrolls.
This would be useful for example in the following scenario:
A user navigates to a page where they have the Wheel Picker. He scrolls the picker and as the wheel is still scrolling, he instantly saves the date and closes the page. The state would not still be updated since onSnappedDateTime is called only when the picker is not scrolling. A good way to resolve this would be for onSnappedDateTime to retrieve every value as the user scrolls so that even if he closes the page, the state would still be updated.

@commandiron commandiron added the enhancement New feature or request label May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants