Skip to content

Nested gridstack height (Like content) #717

Closed

Description

@anonimo9

Hi,

Is it possible that .grid-stack-item that has inside .grid-stack would be same height as content ?
Because now the .grid-stack-item has scroll. I was search all internet, don't find any solution for this.

nested

Activity

  1. kool-kat commented on Jul 27, 2017

    @kool-kat

    Saw this myself. Nested grid should ideally inherit the 'wrapping' parent grid element cell width and height and as such fit perfectly.

    Scroll bars shouldn't appear but they do. On my grid when first loaded/initialised there are no vertical scroll bars visible on the nested grid, but as soon as I hover over or move any parent grid elements they appear and then sometimes remain on screen even though grid space is effectively unchanged.

    They also appear on hover over the nested grid, if elements have resize=true. It flickers/on and off as the resize icons show. Again the size is unchanged.

    INIT/load GRID (no scrollbars):

    (Inner 1-4) is the nested 2x2 grid which occupies Columns 3-6 and Rows 3-9 of the parent 8x9 outer grid.

    image

    HOVER OVER NESTED

    Hover over any element in the bottom row of the nested grid (Inner 3 or Inner 4) results in vertical scrollbar (image below:)
    image

    In screenshot: Scroll SE/SW icons are visible on Inner 3 element which I had my mouse cursor over. Also SE cursor for parent grid element showing as it contains the nested grid object and hover event has passed through to the underlying layer too. NOTE: on mouse-off the vertical scrolls disappear.

  2. adumesny commented on Apr 12, 2021

    @adumesny
    Member

    closing as 787 has more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions