I have a UiDatepicker inside a popover. When I select a date both Datepicker and Popover closes. It's probable treated as click outside popover so close is fired.
I was trying to set openOn to always after Datepicker opens and then switching back to click after it closes itself but it seems this value is only evaluated at creation and you can't change it later.
It would be nice to allow changing this during a lifespan of popover so one could prevent popover from reacting on click events when it's needed.
Hello,
I have a UiDatepicker inside a popover. When I select a date both Datepicker and Popover closes. It's probable treated as click outside popover so close is fired.
I was trying to set
openOn
toalways
after Datepicker opens and then switching back toclick
after it closes itself but it seems this value is only evaluated at creation and you can't change it later.It would be nice to allow changing this during a lifespan of popover so one could prevent popover from reacting on click events when it's needed.