Skip to content

Sortable components significantly increase render time #104

@MatiPl01

Description

@MatiPl01

Description

Sortable component (SortableFlex, SortableGrid) take much time to set up (many shared values, measurements, etc.). This can delay the initial screen render time significantly, which can be seen on the video below.

If possible, most of the setup logic should be delayed after the initial render is completed (e.g. the sortable component should render all its items in a relative layout without measuring them and calculating the absolute layout. Once all items are rendered and the transition to the screen is fished, sortable component providers can be set up).

Example recording

Screen.Recording.2024-08-12.at.12.58.25.mp4

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions