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

[Popup] difference from menu/menuitem elements #454

Closed
madcampos opened this issue Jan 29, 2021 · 2 comments
Closed

[Popup] difference from menu/menuitem elements #454

madcampos opened this issue Jan 29, 2021 · 2 comments
Assignees

Comments

@madcampos
Copy link

Sorry if the question is silly, but how would the popup proposal be different in functionality from a stylable form of menu? Wouldn't it be better to review/addapt it's definition?

One of the examples on MDN is specifically for a dropdown.

@melanierichards
Copy link
Contributor

Hi @madcampos, not a silly question!

There's a couple things here. First, menu is effectively deprecated. Not having been around during its evolution in standards, I'm not exactly sure why it ended up in such a state where it is not supported. Perhaps folks would be interested in discussing that element/design again, and we could leverage that for the menu-specific use cases for popup.

That brings me to the other part of this in that we imagine popup as being useful for various different types of popover UI. We've chosen to use an action menu as a primary example, but folks use popup-esque patterns for many different types of content, such as pickers that don't follow a flat menuitem structure. So I guess the main difference here is that action menus would serve only as a subset of the element's use cases.

Hope that answers your question!

@madcampos
Copy link
Author

madcampos commented Feb 20, 2021

Yes, that sure answered my question, thank you.

As a more "generic" element popup could be used to (re) implement the functionality of menu then.

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

No branches or pull requests

4 participants