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
Description: The MaterialTimePicker component does not respect the isCancelable property (setCancelable) in the following ways:
the cancel button is still visible
the dialog gets dismissed after pressing Cancel
Expected behavior: It is expected that the Cancel button not be visible so that cancel listeners would not be called and the dialog would not be dismissed.
Working around this bug adds complexity at the implementation side.
Description: The
MaterialTimePicker
component does not respect theisCancelable
property (setCancelable
) in the following ways:Expected behavior: It is expected that the Cancel button not be visible so that cancel listeners would not be called and the dialog would not be dismissed.
Working around this bug adds complexity at the implementation side.
Source code:
material-components-android/lib/java/com/google/android/material/timepicker/MaterialTimePicker.java
Lines 249 to 259 in a009557
Android API version: 8.1.0, 11
Material Library version: 1.3.0 (latest stable release)
Device: Nexus 5X, Pixel 4a
Thank you!
The text was updated successfully, but these errors were encountered: