Skip to content

Possible regression in #2939 - setStatic(false) no longer works with lazyLoad = true #3002

Open
@norgepaul

Description

@norgepaul

Subject of the issue

After ugrading from 11.3.0 to 11.4.0 we are no longer able to drag/resize gridstack widgets. This appears to be a regression introduced in this fix #2939

Your environment

  • 11.4.0
  • Chrome 134.0.6998.89

Steps to reproduce

Start with the following options.

animate: false,
column: 12,
lazyLoad: true,
acceptWidgets: false,
removable: false,
staticGrid: true,
cellHeight: '50px',
margin: '2',
minRow: 5,
maxRow: 10000,
alwaysShowResizeHandle: true,
columnOpts: {
  breakpointForWindow: false,
  layout: 'list',
},

Call setStatic(false) to enable editing.

The resize handle appears for an instant, then disappears. Dragging and resizing does not work.

When lazyLoad is disabled setStatic works as expected.

Expected behavior

setStatic should work correctly when lazyLoad is enabled.

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