Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to control closure of the popover. #536

Merged
merged 1 commit into from
Aug 6, 2022

Conversation

olsgreen
Copy link
Contributor

@olsgreen olsgreen commented Aug 1, 2022

Adds 'close-on-esc' and 'close-on-external-click' props to the UiPopover component in a non-breaking manor.

These props give the ability to fully control a popovers display state. This allows us to force parent popovers to stay open when nested popovers (which are appended to the body) receive click events.

Addresses #535.

@JosephusPaye
Copy link
Owner

Looks good, thanks!

@JosephusPaye JosephusPaye merged commit 59c00a6 into JosephusPaye:next Aug 6, 2022
@JosephusPaye
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants