This text is writing by chatgpt.
Description
Sorry if this is a known issue.
After updating to version 2 of react-gantt (released late October), I noticed a severe scrolling issue in the local demo after cloning the repository.
When I scroll (horizontally or vertically) in the demo page after running npm install and npm run dev, the Gantt chart repeatedly jumps between the previous and new scroll positions. At the same time, the following warning appears in the console:
Warning: Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
Steps to reproduce
git clone https://github.com/svar-widgets/react-gantt.git
cd react-gantt
npm install
npm run dev
Open the demo page (e.g., http://localhost:5173)
Scroll the Gantt chart horizontally and/or vertically
Expected behavior
Scrolling should be smooth without position jumps or console warnings.
Actual behavior
The chart continuously jumps between scroll positions, and the warning above appears in the console.
Could you confirm if this scrolling issue in version 2 is a known bug?
Are there recommended workarounds or patches for this infinite scroll / Maximum update depth exceeded problem?