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 controlled popover #582

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Add controlled popover #582

merged 1 commit into from
Jan 10, 2025

Conversation

atmelmicro
Copy link
Collaborator

Using the Popover API with the help of a helper element this implements a native way to create a popover that closes and opens on button and backdrop click.

src/components/Popover/Popover.jsx Outdated Show resolved Hide resolved
src/components/Popover/Popover.jsx Outdated Show resolved Hide resolved
src/components/Popover/README.md Outdated Show resolved Hide resolved
src/components/Popover/README.md Outdated Show resolved Hide resolved
src/components/Popover/Popover.jsx Outdated Show resolved Hide resolved
src/components/Popover/Popover.module.scss Show resolved Hide resolved
src/components/Popover/Popover.jsx Outdated Show resolved Hide resolved
src/components/Popover/README.md Outdated Show resolved Hide resolved
@bedrich-schindler
Copy link
Contributor

I am approving this PR even though SCSS comments are not done as required. But it is up to @adamkudrna to approve them.

@atmelmicro atmelmicro force-pushed the feature/controlled-popover branch from 7d83de3 to 275469d Compare January 10, 2025 14:35
@atmelmicro atmelmicro merged commit 684d5ab into master Jan 10, 2025
10 checks passed
@atmelmicro atmelmicro deleted the feature/controlled-popover branch January 10, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants