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
While using the WheelTimePicker within an AnimatedVisibility, I noticed that the onTimeChangeListener would initially return the current time before returning the inputted startTime. This caused a flickering effect in my TextField used to display the selected time.
While using the WheelTimePicker within an AnimatedVisibility, I noticed that the onTimeChangeListener would initially return the current time before returning the inputted startTime. This caused a flickering effect in my TextField used to display the selected time.
Implementation is shown below:
This produced the behavior shown in the following screen recording along with the print statements from within the onTimeChangeListener:
Screen.Recording.2025-09-30.at.1.06.09.PM.mov
From first glance this may be fixed easily by initializing state variable
selectedDateto thestartTimeon line 82 of WheelTimePickerComponent.kt