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
we have a pretty rare use case (i assume) of UiDatepicker which is not working anymore in 1.3.0.
Please grab a coffee and sit down before you go on. :D
So..what we're doing:
In UiMenu's options-Slot we're passing (multiple) UiDatepicker, which is working fine in 1.1.0 how you can see here: https://codesandbox.io/embed/keenui-uidatepicker-110-cy1j8
(Just click the button and click the only entry in UiMenu..ignore the strange looking css in this demo.)
UiDatepicker opens fine and after selecting a date UiMenu is still shown, exactly what we want.
This will move the dropdown to <body>, displaying it out side of the menu.
However, this causes a date selection to close the menu (since the datepicker element is no longer a child of the menu, a click in it is considered an external click, which closes the menu's popover).
Hey,
we have a pretty rare use case (i assume) of UiDatepicker which is not working anymore in 1.3.0.
Please grab a coffee and sit down before you go on. :D
So..what we're doing:
In UiMenu's options-Slot we're passing (multiple) UiDatepicker, which is working fine in 1.1.0 how you can see here:
https://codesandbox.io/embed/keenui-uidatepicker-110-cy1j8
(Just click the button and click the only entry in UiMenu..ignore the strange looking css in this demo.)
UiDatepicker opens fine and after selecting a date UiMenu is still shown, exactly what we want.
If we upgrade this demo to 1.3.0, UiDatepicker is now positioned inside of UiMenu and not useable anymore:
https://codesandbox.io/embed/keenui-uidatepicker-130-gnzt1
I don't know if this should work..should it?
Thanks a lot!
The text was updated successfully, but these errors were encountered: