Skip to content

bug: Grid operation resulting in a changed grid size (e.g. added scrollbar) can make items extend past the grid or have empty grid areas #4

@Achilles1515

Description

@Achilles1515

See GIF below, where the first drag and drop results in the grid height increasing, causing a scrollbar to be added to the page reducing the width of the grid --> top right grid item is now extending past the grid. Moving the item back to its original position, causing the scrollbar to be removed and increasing the grid width, now leaves empty space on the right side of the grid until the next move operation begins.

GIF

Perhaps this falls under the category of how to handle updating grid items when the grid size is changed in the middle of a drag operation or even just sitting statically (StackBlitz --> class is added/removed every two seconds causing the grid size to change, yet the item sizes aren't updated without triggering a drag operation).

GIF

Possible solution may start with adding a ResizeSensor to the ktd-grid element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionDiscussion about anything related to this repowontfixThis will not be worked on for now

    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