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

当n-moda设置v-if与v-model:show为相同变量时,关闭弹框后html中的overflow: hidden #3015

Closed
Adangs opened this issue May 25, 2022 · 2 comments
Labels
bug Something isn't working feature request New feature or request

Comments

@Adangs
Copy link
Contributor

Adangs commented May 25, 2022

This function solves the problem (这个功能解决的问题)

当n-moda设置v-if与v-model:show为相同变量时,关闭弹框后html中的overflow: hidden没被清除

image

Expected API (期望的 API)

@github-actions github-actions bot added the feature request New feature or request label May 25, 2022
@Adangs
Copy link
Contributor Author

Adangs commented May 25, 2022

看了下文档,是2.28.3新增的特性;
可以通过 blockScroll 去控制;

但是不是也应该考虑一下v-if的情况呢;

@07akioni
Copy link
Collaborator

看了下文档,是2.28.3新增的特性; 可以通过 blockScroll 去控制;

但是不是也应该考虑一下v-if的情况呢;

你说的对,我应该把这个当成 bug

@07akioni 07akioni added the bug Something isn't working label May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants