-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Unable to preventDefault inside passive event listener invocation. #519
Comments
We have already turned off the passive events, see: smooth-scrollbar/src/utils/event-hub.ts Line 35 in 02a0d81
|
Alright, I checked the So, we can probably solve this issue by defining the A patch is coming soon. |
Fixes #519: This modification ensures compatibility with the `default-passive-event` package.
Fixes #519: This modification ensures compatibility with the `default-passive-event` package.
Fixed in v8.8.2. |
Checks
Version
8.8.1
Description
原本是不会报错的,但是我用了这个方式,消除了另外一个js插件的控制台的警告
https://blog.csdn.net/qq_28378665/article/details/128757778
然后现在滚动的时候,控制台会报错,也许这是解决方案
https://blog.csdn.net/weixin_40716786/article/details/90675200
我已经在我的开源项目中使用
smooth-scrollbar
,在此非常感谢,还望尽快修复。DeepL Translation:
Originally it would not have reported an error, but I used this to remove the warning from the console of another js plugin
https://blog.csdn.net/qq_28378665/article/details/128757778
Then now when scrolling, the console will report an error, maybe this is the solution
https://blog.csdn.net/weixin_40716786/article/details/90675200
I have used
smooth-scrollbar
in my open source project, thanks a lot here, also hope to fix it soon.Steps to Reproduce
描述
Online Demo
No response
The text was updated successfully, but these errors were encountered: