Description: When using wx-react-gantt, if I drag the vertical scrollbar on the right (chart area) to a certain position, and then move the mouse to the left table area and use the mouse wheel to scroll, the chart area’s scroll position immediately jumps back to the previous table scroll position (usually the top or wherever the table was last scrolled).
Steps to Reproduce:
Drag the vertical scrollbar on the right (chart area) to scroll down.
Move the mouse to the left table area.
Use the mouse wheel to scroll the table area (even just a little).
The chart area immediately jumps back to the table’s previous scroll position.
Expected Behavior: The table and chart scroll positions should always stay in sync. After dragging the chart scrollbar, the table’s scrollTop should be updated accordingly, so that further scrolling in the table area continues smoothly from the current position.
Actual Behavior: Dragging the chart scrollbar does not update the table’s scrollTop. When the table area is scrolled, the chart area is forced to jump back to the table’s scrollTop, causing a jarring user experience.
Demo: This issue can be reproduced on the official wx-react-gantt demo site.
https://docs.svar.dev/react/gantt/samples/#/performance/willow
Additional Notes:
Tried manually syncing scrollTop in user code, but the issue persists because the component’s internal logic always uses the table’s scrollTop as the source of truth.
This makes it impossible to fix from outside the component.
Request: Please update the component so that dragging the chart scrollbar also updates the table’s scrollTop, or provide a way to fully control scroll synchronization externally.