Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
norgepaul opened this issue Mar 19, 2025 · 1 comment

Comments

@norgepaul
Copy link

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.

@norgepaul norgepaul changed the title Possible regression in #2939 - setStatic(true) no longer works with lazyLoad = true Possible regression in #2939 - setStatic(false) no longer works with lazyLoad = true Mar 19, 2025
@adumesny
Copy link
Member

please provide running example (with minimum settings) as bug require.

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

No branches or pull requests

2 participants