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
When the picker returns to the selected element at index 0, the onChange function is not triggered.
My suggestion is to remove the conditional check and trigger onChange for any change.
The fix needs to be applied in the WheelPicker.js file at line 56:
if (last > itemHeight / 2)
index++;
// if (index !== selectedIndex) {
onChange(index);
//}
The text was updated successfully, but these errors were encountered:
When the picker returns to the selected element at index 0, the onChange function is not triggered.
My suggestion is to remove the conditional check and trigger onChange for any change.
The fix needs to be applied in the WheelPicker.js file at line 56:
if (last > itemHeight / 2)
index++;
// if (index !== selectedIndex) {
onChange(index);
//}
The text was updated successfully, but these errors were encountered: