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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 FixedExtentScrollController scrolling issue in DatePicker #1054

Closed
Dusk-afk opened this issue Apr 10, 2024 · 0 comments 路 Fixed by #1055
Closed

馃悰 FixedExtentScrollController scrolling issue in DatePicker #1054

Dusk-afk opened this issue Apr 10, 2024 · 0 comments 路 Fixed by #1055
Labels
bug Something isn't working

Comments

@Dusk-afk
Copy link
Contributor

Issue Description
Upon utilization of the DatePicker feature, if the day and/or month fields are deselected, an error message emerges during scrolling within the DatePicker, stating: "FixedExtentScrollController.selectedItem cannot be accessed before a scroll view is built with it." Additionally, occasional occurrences of jagged animations are observable during scrolling.

Steps to Reproduce
To replicate the behavior, follow these steps:

  1. Navigate to the DatePicker feature.
  2. Disable the day and/or month field.
  3. Proceed to scroll within the picker.
  4. Observe the error message.

Expected Outcome
The scrolling process should occur seamlessly, devoid of any error messages or jagged animations.

Error Demo
Recording 2024-04-10 233613

@Dusk-afk Dusk-afk changed the title 馃悰 FixedExtentScrollController scrolling issue in DatePicker 馃悰 FixedExtentScrollController scrolling issue in DatePicker Apr 10, 2024
@bdlukaa bdlukaa added the bug Something isn't working label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants