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

vxe-modal加了lock-scroll锁不住滚动条,页面仍可滚动 #29

Open
1 task done
fqucuo opened this issue Aug 23, 2024 · 5 comments
Open
1 task done

vxe-modal加了lock-scroll锁不住滚动条,页面仍可滚动 #29

fqucuo opened this issue Aug 23, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@fqucuo
Copy link

fqucuo commented Aug 23, 2024

可复现的链接(包含复现链接与示例代码):

https://stackblitz.com/edit/vitejs-vite-qaudgz?file=src%2FApp.vue

问题描述与截图:

vxe-modal加了lock-scroll锁不住滚动条,页面仍可滚动

期望的结果:

vxe-modal加了lock-scroll应能锁住滚动条,不允许页面滚动

操作系统:

Windows 11 23H2

浏览器版本:

Chrome 127.0.6533.120

vue 版本:

3.4.38

vxe-pc-ui 版本:

4.1.3

vxe-table 版本:

4.7.65

是否使用当前最新版本?

  • 我已确认是使用当前的最新版本并已按要求提供复现链接与示例代码。
@fqucuo fqucuo added the bug Something isn't working label Aug 23, 2024
@xuliangzhan
Copy link
Collaborator

该问题会在下版本修复 https://stackblitz.com/edit/vitejs-vite-f9pjqf

@fqucuo
Copy link
Author

fqucuo commented Aug 25, 2024

@xlz26296
Copy link
Contributor

xlz26296 commented Sep 2, 2024

@xuliangzhan 4.1.6问题依旧 https://stackblitz.com/edit/vitejs-vite-5pwrwu?file=src%2FApp.vue

你这个链接看起来好像没问题

@fqucuo
Copy link
Author

fqucuo commented Sep 2, 2024

@xuliangzhan 4.1.6问题依旧 https://stackblitz.com/edit/vitejs-vite-5pwrwu?file=src%2FApp.vue

你这个链接看起来好像没问题

@xuliangzhan 刷新后第一次open是没问题的,再次open就锁不住了,加destory-on-close也不行

@fqucuo
Copy link
Author

fqucuo commented Sep 6, 2024

@xuliangzhan https://stackblitz.com/edit/vitejs-vite-spcheb?file=src%2FApp.vue
或者是先滚动一下,然后再点开对话框,就锁不住了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants