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

Resizing does not work anymore with v4 JQ version #1669

Closed
Guite opened this issue Mar 20, 2021 · 2 comments · Fixed by #1670
Closed

Resizing does not work anymore with v4 JQ version #1669

Guite opened this issue Mar 20, 2021 · 2 comments · Fixed by #1670

Comments

@Guite
Copy link

Guite commented Mar 20, 2021

Subject of the issue

Trying to resize a widget causes a JS error:

cannot call methods on resizable prior to initialization; attempted to call method 'option'

Your environment

  • release version 4.0.0
  • tested with both Firefox and Chrome browsers

Steps to reproduce

Expected behavior

Resizing works without problems.

Actual behavior

The operation is not completed.

grafik

grafik

@adumesny
Copy link
Member

Sight, looks like the jquery ui version is busted, which the website uses for mobile reason (of course all my testing was h5)

@adumesny adumesny changed the title Resizing does not work anymore with v4 Resizing does not work anymore with v4 JQ version Mar 20, 2021
adumesny added a commit to adumesny/gridstack.js that referenced this issue Mar 20, 2021
fix gridstack#1669
now pass the original element around, as node.el is the placeholder during resize
(which doesn't have resize handlers)
@adumesny adumesny mentioned this issue Mar 20, 2021
3 tasks
@adumesny
Copy link
Member

fix in upcoming 4.0.1 - don't forget to donate if you find lib useful!

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

Successfully merging a pull request may close this issue.

2 participants