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

excel插件滚动时外部有滚动条的窗口会跟着滚动 #407

Open
rexkny opened this issue Dec 12, 2024 · 0 comments
Open

excel插件滚动时外部有滚动条的窗口会跟着滚动 #407

rexkny opened this issue Dec 12, 2024 · 0 comments

Comments

@rexkny
Copy link

rexkny commented Dec 12, 2024

版本信息:@vue-office/excel": "^1.7.11, node: 16.20.2, "vue": "2.7.14", npm: 8.19.4
浏览器信息:chrome、edge
问题描述:excel表格在外部包裹弹窗或窗口有滚动条的情况下,滚动excel区域,外部包裹弹窗和窗口会跟着滚动。我试着在实例中使用querySelector获取.vue-office-excel-main类的dom元素绑定wheel事件阻止冒泡,虽然能强行使excel区域不可滚动、从而阻止外部包裹窗口滚动,但造成了excel插件功能缺失,请问需要如何处理

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

No branches or pull requests

1 participant