Thanks @OlgaT! I was really excited for this release, it’s a fantastic update I’ve been waiting for.
However, in the latest version I found one issue that’s causing unexpected behavior.
Issue Summary
When scrolling inside the Gantt chart, it starts continuously auto-scrolling both horizontally and vertically, even after the user stops interacting.
The .wx-scale element’s left: (and sometimes top:) values keep updating in a loop, causing layout thrashing and high CPU usage.
Chrome shows repeated warnings:
[Violation] Added non-passive event listener to a scroll-blocking 'wheel' event.
The internal code attaches the wheel event without { passive: true }.
The issue can be reproduced directly on the official demo: https://svar.dev/react/gantt/#demo
Note
This behavior was not present in the older wx-react-gantt version and appears to be a regression in the current release.