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

解决层级遮罩问题 #714

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

misakichan
Copy link

解决小屏幕下,右键菜单被工具栏遮挡问题
image

解决小屏幕下,右键菜单被工具栏遮挡问题
@wanglin2
Copy link
Owner

wanglin2 commented Jul 2, 2024

你测试是有效的么,试了下好像没用啊,
image

@misakichan
Copy link
Author

你测试是有效的么,试了下好像没用啊, image

image 我这可以的呀。。因为工具栏是z-index2,这边只加了1,效果就ok了

@wanglin2
Copy link
Owner

wanglin2 commented Jul 2, 2024

我这工具栏的层级比右键菜单的容器层级还高,只设置右键菜单的层级应该是无效的

@misakichan
Copy link
Author

我这工具栏的层级比右键菜单的容器层级还高,只设置右键菜单的层级应该是无效的

只需要保证右键内容比工具栏z-index大1就可以啦。

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

Successfully merging this pull request may close these issues.

2 participants