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

[Bug]: Custom Root submenu needs overflow: auto applied #4985

Open
1 task done
caseyisonit opened this issue Dec 9, 2024 · 2 comments
Open
1 task done

[Bug]: Custom Root submenu needs overflow: auto applied #4985

caseyisonit opened this issue Dec 9, 2024 · 2 comments
Labels
bug Something isn't working Component: Menu jira ticket created triage An issue needing triage

Comments

@caseyisonit
Copy link
Collaborator

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

menu

Expected behavior

all submenus regardless of root type should scroll

Actual behavior

Tyler Gross from PSWeb team brought up that when utilizing a custom root submenu for a long menu list, it doesn't scroll.

Screenshots

No response

What browsers are you seeing the problem in?

Firefox, Chrome, Safari

How can we reproduce this issue?

  1. Go to isolated story
  2. Try to scroll submenu
  3. See error

Sample code or abstract reproduction which illustrates the problem

https://studio.webcomponents.dev/edit/collection/fO75441E1Q5ZlI0e9pgq/FikFeTXNsYhxAVmCz2f4/src/index.ts?branch=custom-root-submenu%40qzbULizkDgYvRRWfbXe6GNDMvH23&p=stories

Severity

SEV 2

Logs taken while reproducing problem

No response

@caseyisonit caseyisonit added bug Something isn't working triage An issue needing triage needs jira ticket labels Dec 9, 2024
@caseyisonit
Copy link
Collaborator Author

Fix goes here:

::slotted([slot='submenu']) {
width: max-content;

@najikahalsema
Copy link
Collaborator

SWC-623

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Component: Menu jira ticket created triage An issue needing triage
Projects
None yet
Development

No branches or pull requests

2 participants