rafaelpeter03 commented on issue #18255:
URL: https://github.com/apache/echarts/issues/18255#issuecomment-3084038469
### 1. Solution to errors during scroll zoomArea:
In node_modles, find the file: `zrender/lib/core/event.js`
Find the function: `Export Function Addeventlistener (...`
Comment or delete the current and insert `{passive: false}` instead of `opt`
<img width="1087" height="172" alt="Image"
src="https://github.com/user-attachments/assets/fdfe77bf-4599-4852-bcf9-6f558159cbf7"
/>
**⚠️ Important: Clear Your Cache!**
_Your bundler (like Vite) creates a cache of your packages. After editing
the file, you must clear this cache for your change to take effect._
Run the following command in your terminal to clear Vite's cache:
`rm -rf node_modules/.vite`
### 2. Solution to warnings passive events
install `npm install default-passive-events --save-dev`
add into your main.js or mains.ts: `import 'default-passive-events'`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]