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

[Component] [menu] el-menu 组件产生谷歌浏览器控制台警告:Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. #16851

Closed
YINA-6 opened this issue May 13, 2024 · 1 comment

Comments

@YINA-6
Copy link

YINA-6 commented May 13, 2024

Bug Type: Component

Environment

  • Vue Version: 3.2.47
  • Element Plus Version: 2.7.1
  • Browser / OS: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
  • Build Tool: Vite

Reproduction

Related Component

  • el-menu

Reproduction Link

Element Plus Playground

Steps to reproduce

1.使用el-menu组件
2.使用谷歌浏览器控制台查看警告

What is Expected?

无异常警告

What is actually happening?

控制台警告:Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive.

Additional comments

我发现在2.7.1版本更新时,已经有过组件修复了类似情况#16495,但我依旧在使用el-menu组件中发现了该警告

@warmthsea
Copy link
Contributor

#16741

这些相关的问题会在近期修复

@YINA-6 YINA-6 closed this as completed May 14, 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

No branches or pull requests

2 participants