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

fix: Prioritize un-collapsible menubar entries for mobile and aggregate children in the hidden entries #5226

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Jan 10, 2024

Fix #5220

There are some menubar entires that cannot be collapsed in the hidden entries list as they trigger another popover which comes with too much complexity to implement a nested popover now. However with 320px we have enough space to show all of them.

For others (like callout actions) where the menu is just a list of simple action buttons we can just merge them into the overflow menu.

This ensures that any action is usable on all screen sizes >= 320px.

Screenshot 2024-01-10 at 15 24 13

Copy link
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

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

Didn't test the code, but looks sensible to me. Only one comment.

src/components/Menu/MenuBar.vue Outdated Show resolved Hide resolved
…te children in the hidden entries

Co-authored-by: Jonas <[email protected]>
Signed-off-by: Julius Härtl <[email protected]>
@juliushaertl
Copy link
Member Author

/backport to stable28

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.

[BITV]: On small screens it is not possible to reach a submenu
2 participants