The scroll bar always scrolls up when opening and closing rows in the resource table. How to save vertical position scroll in resource table?
Hello Molven,
I tried to reproduce the issue, but the vertical scroll position in the resource table is preserved when expanding or collapsing rows, except in one specific case:
If you collapse a row near the bottom of the visible area and the total height of the table becomes smaller, the browser adjusts the scroll position upward because there is no longer enough content to fill the previous scroll range. This is standard scrolling behavior in HTML containers.
Hereβs a snippet where I tried to reproduce this issue: DHTMLX - Gantt. Universal Layout configuration (with resource panel).
It may be helpful if you send me a simplified demo where the issue can be reproduced.
- If the issue can be reproduced in the standard Gantt, please send a minimal snippet using the official DHTMLX Snippet tool:
DHTMLX - Gantt. Initialization.
After creating your example, click on theSavebutton, open the saved link in a new tab to ensure everything is stored correctly, and then share the link with me. - If the issue appears only in React Gantt, please send a minimal demo with all necessary files and run instructions, so I can check it on my side.
Best regards,
Valeria Ivashkevich
DHTMLX Support Engineer
1 Like