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: 修复按需加载下popup弹窗内容区被遮罩层盖住 #5673

Closed
wants to merge 1 commit into from

Conversation

cyhwinner
Copy link
Contributor

修复按需加载下popup弹窗内容区被遮罩层盖住

  • fix(Popup): 增加动态层级

可选择的类型:

  • fix

app.json中增加按需注入配置,vant-weapp会出现内容区在遮罩层下方,导致无法点击到内容区。

@@ -4,7 +4,7 @@ var style = require('../wxs/style.wxs');
function popupStyle(data) {
return style([
{
'z-index': data.zIndex,
'z-index': data.zIndex + 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

popup 的 zindex 默认是 100,overlay 是 1 确认一下是会遮住吗

@cyhwinner cyhwinner closed this Jan 27, 2024
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