Skip to content

Horizontal scroll freezes even with 7 tasks, but browser scroll test shows 120 FPS #10

Description

@no-inspi

Hi guys, i have a very surprising behavior when adding svar gantt to my nextjs (v15.3.2) and react 19 (v19.1.1).
I added a very simple svar gantt with 7 tasks mock data.
The gantt is freezing very hard and it's likely impossible to use it ...

I got this error when trying hard to scroll :
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.

To be sure it comes from svar, I tested with a very simple component and added a check for browser scroll.

Thanks in advance for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions