DO NOT deprecate @time-picker-open
& @time-picker-close
(overlay-toggle Is not a substitute)
#1093
Labels
@time-picker-open
& @time-picker-close
(overlay-toggle Is not a substitute)
#1093
I just wanted to point out that, despite the docs say that we should use
@overlay-toggle
instead of@time-picker-open
and@time-picker-close
, @overlay-toggle does not provide a way to determine whether we have completely exited time-picker mode (returning to the date-picker) or if we are still in time-picker mode but have only closed the hours/minutes overlay.I mean, the
@overlay-toggle
callback reports the same data:{ overlay: 'hours', open: false }
in both scenarios:
In contrast,
@time-picker-close
is only triggered when we fully close the time-picker overlay, regardless of whether we were in the hours or minutes overlay.The text was updated successfully, but these errors were encountered: