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
I was hoping I could use the Headless UI Portal component inside a PopoverPanel to stop clicks on teleported combobox options closing the Popover. While that seems to be a fix for the Dialog component, it does not work for Popover - any click closes the popover instantly.
I'm using Portal from '@headlessui/vue'. Clicking on the button inside the Portal will close the popover. Is there a way to prevent this from happening?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I was hoping I could use the Headless UI Portal component inside a PopoverPanel to stop clicks on teleported combobox options closing the Popover. While that seems to be a fix for the Dialog component, it does not work for Popover - any click closes the popover instantly.
A very basic reproduction scenario:
I'm using
Portal
from'@headlessui/vue'
. Clicking on the button inside the Portal will close the popover. Is there a way to prevent this from happening?Beta Was this translation helpful? Give feedback.
All reactions