Skip to content

minH,minW,maxH,maxW properties is not working when resizeable is false and not getting applied to grid items inline style property.  #63

Open
@shahnawaz09

Description

@shahnawaz09

1 ) minH, minW, maxH, maxW these properties are not getting applied in grid items style property. These properties work only in resizeable=true mode. But not when I try to set "h" less then "minH". It is setting the less height which is less than minH. I think this should not happen. Please help me in this information.
I am facing a issue that I want the height dynamic of grid items. It should adjust based on content div height with resizeable=false. Now I am not able to achieve this. I am adding min-height to grid items manually and I was trying to remove the height property from the grid items by JavaScript but its not getting removed and getting automatically applied to grid items again which is weird. I am trying to do this to make the responsive/dynamic height to work by removing the "height" property and setting just the "min-height" property. And the content will also have min-height then my dynamic or responsive height issue will be resolved. Could you please help me on to achieve. How can i make grid items height adjust automatically with content height ?

  1. Second issue I am facing is that grid items add horizontal scroll to my page with cols="12" rowHeight="50" and widths of grid items are 3,6,3. but this is causing horizontal scroll. We are using vertical compaction.
    [
    { id: '1', x: 0, y: 0, w: 3, h: 8 },
    { id: '2', x: 3, y: 0, w: 6, h: 9.8 },
    { id: '3', x: 9, y: 0, w: 3, h: 11.3 },
    { id: '4', x: 0, y: 11, w: 3, h: 10, minH:5,minW:3},
    { id: '5', x: 3, y: 12.8, w: 6, h: 10 },
    { id: '6', x: 9, y: 14.3, w: 3, h: 10 }
    ];
    @llorenspujol Could you please reply on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdiscussionDiscussion about anything related to this repo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions