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

标签页 Tabs 浏览器最新版本chrome性能警告 #3387

Open
1 task
zhuxianglong opened this issue Dec 21, 2024 · 1 comment · May be fixed by #3413
Open
1 task

标签页 Tabs 浏览器最新版本chrome性能警告 #3387

zhuxianglong opened this issue Dec 21, 2024 · 1 comment · May be fixed by #3413
Labels
⚡️Perf Optimization related, such as improving performance and experience

Comments

@zhuxianglong
Copy link

Basic Info

Extra info

你也可以用这个链接https://codesandbox.io/p/sandbox/lc35jy?file=%2Fsrc%2FApp.vue

What is expected?

期望优化掉这个性能警告

Steps to reproduce

chrome会有一个性能警告,index.js:25 [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
B.addEventListener @ index.js:25
$csb$eval @ main.js:9
H @ eval.js:31
evaluate @ transpiled-module.js:715
evaluateTranspiledModule @ manager.js:338
evaluateModule @ manager.js:309
(匿名) @ compile.ts:865

@zhuxianglong
Copy link
Author

image

@oljc oljc added the ⚡️Perf Optimization related, such as improving performance and experience label Dec 25, 2024
@oljc oljc linked a pull request Jan 8, 2025 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡️Perf Optimization related, such as improving performance and experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants