Skip to content

[grid] Keep relevant items in viewport on size change #1256

@tomivirkki

Description

@tomivirkki

When the grid's effective size changes dynamically (for example due to items in the viewport getting expanded or new items getting added)

  • If there is an active item and it's in view, then it should be kept in the same visual location
  • If not, and there are selected items in view, then as many as possible of them should stay in the same location
  • If not, and we're scrolled to the bottom before, then we should remain scrolled to the bottom also afterwards
  • If not, then keep the topmost visible item in the same visual position

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions