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

提供可选项,当导航菜单折叠时,鼠标悬停显示菜单,而不是展开整个NavigationDrawer #183

Open
wangxuepeng opened this issue Mar 23, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@wangxuepeng
Copy link

Issue type

sample request

Description

提供可选项(例如在Settings里添加选项:折叠时菜单样式:浮动 or 展开),实现类似AntDesign Pro那样的导航菜单,当导航菜单折叠时,鼠标悬停在上面,显示浮动的导航菜单,而不是展开整个NavigationDrawer。

这样的界面更紧凑,方便使用。

谢谢。

Screenshots

image

image

image

Which OS or Visual Studio versions did you see the issue on?

No response

Additional context

No response

@wangxuepeng
Copy link
Author

image

@doddgu
Copy link
Contributor

doddgu commented Mar 23, 2023

这应该是 MASA Blazor 的NavigationDrawer的功能,可以到MASA Blazor中提issue支持,但优先级相对不是很高。

@wangxuepeng
Copy link
Author

这个和AntDesign Pro的实现不一样,AntDesign Pro指定MenuData就可以,Menu是sidebar的一部分,所以可以实现在控件里。

Masa Blazor Pro的菜单是一个MListGroup,和NavigationDrawer是分离的,NavigationDrawer如何知道该render什么?感觉还是实现在Masa Blazor Pro中合适。

或者是把NavigationDrawer增强一下,指定MenuData就可以实现菜单,并在展开/收起的时候render合适的样子。

@capdiem
Copy link
Contributor

capdiem commented Mar 24, 2023

@wangxuepeng 我们stack产品线的导航是这样的,你可以参考源码,至于PRO目前的设计没有更改的计划。

@capdiem capdiem added the enhancement New feature or request label Mar 24, 2023
@doddgu
Copy link
Contributor

doddgu commented Mar 27, 2023

@wangxuepeng 我们stack产品线的导航是这样的,你可以参考源码,至于PRO目前的设计没有更改的计划。

@capdiem 这个可以让 NagivationDrawer 增强,不属于Pro我觉得

@wangxuepeng
Copy link
Author

Moved to Masa Stack issue list.

masastack/MASA.Stack.Components#438

@capdiem capdiem reopened this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants