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

feat(popover): Adding support for buttons as triggers - FRONT-4350 #3569

Merged
merged 5 commits into from
Aug 21, 2024

Conversation

planctus
Copy link
Contributor

I did this, but honestly if feels like this component should only deal with its content, the trigger should be whatever the user want to.
If you agree, we could do now something in between, keeping the support for a trigger defined by the template but extending the functionality to any element with a certain markup, like a data attribute.
Then in v5 we could definitively remove the logic and the markup related to the trigger from the template.

Copy link

github-actions bot commented Aug 16, 2024

@github-actions github-actions bot temporarily deployed to pull request August 16, 2024 10:58 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 16, 2024 11:13 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 16, 2024 12:21 Inactive
Copy link
Contributor

@emeryro emeryro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small thing: for the last example, it may be better to keep the popover as a link (or simply to remove that example...)
image

@planctus planctus removed the Question label Aug 21, 2024
@github-actions github-actions bot temporarily deployed to pull request August 21, 2024 10:24 Inactive
@emeryro emeryro merged commit 9e6756c into v4-dev Aug 21, 2024
7 checks passed
@emeryro emeryro deleted the FRONT-4350-Popover-showcase branch August 21, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants