web-components icon indicating copy to clipboard operation
web-components copied to clipboard

[Feature Request] Popover Component

Open JustinVoitel opened this issue 2 years ago • 3 comments

Describe your motivation

I often have the requirement to hide some actions or content relatively behind a button. Many UI Libraries have something called a Popover where I can put any content behind a trigger (e.g a button). I know vaadin already has a menu-bar but this is only useful for action items with very little customization.

Describe the solution you'd like

I would love to have a native vaadin-popover component that works pretty much like this example from the headless-ui Library. I think most of the functionality can be taken from the menu-bar implementation!

Describe alternatives you've considered

Using the menu-bar component

Additional context

No response

JustinVoitel avatar Jan 18 '23 13:01 JustinVoitel

Thanks for the issue. The closest component that we have is vcf-popup - note, it isn't part of Vaadin components yet. We might want to also use this as a foundation for "toggletip" - a version of vaadin-tooltip supporting rich content.

web-padawan avatar Jan 18 '23 13:01 web-padawan

Could be related: https://github.com/vaadin/web-components/issues/414

yuriy-fix avatar Jan 25 '23 13:01 yuriy-fix

Acceptance Criteria: https://github.com/vaadin/platform/issues/5271

rolfsmeds avatar Apr 25 '24 14:04 rolfsmeds

We now have vaadin-popover component released in v24.5.0 which covers this use case. Closing.

web-padawan avatar Oct 16 '24 13:10 web-padawan