Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Gridstack from v8 "maximum call stack size exceeded" crash error when cellheight is set with "rem" value  #2357

Closed
@zsolt-horvath

Description

@zsolt-horvath

Subject of the issue

From version 8 and above gridstack produces a weird, hard to debug "maximum call stack size exceeded" error and crashes the whole page when cellHeight is set with "rem". It is working properly with v7

Steps to reproduce

You can reproduce it in with the gridstack repo.

In the Gridstack repo go to: angular -> projects -> demo -> src -> app -> app.component.ts
Add for example: cellHeight: '23rem' to gridOptions in line # 36
Run the app locally, select the proper demo and try to drag&drop one of the grid items

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