Skip to content

position of UiDatepicker not correct when combined with UiPopover/UiMenu #496

@sagg

Description

@sagg

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions