Skip to content

Gridstack resize error #858

@JanRuneHenriksen

Description

@JanRuneHenriksen

2018-03-22 09_08_53-gridstack

Subject of the issue

Gridstack resize error

Your environment

  • 0.2.6
  • Chrome

Steps to reproduce

Resizing browser with Chrome Toggle Device Toolbar from no resize to mobile (iphone) size

Expected behaviour

No errors should appear in console

Actual behaviour

Error appears in console:
jquery-3.2.1.js:273 Uncaught Error: cannot call methods on draggable prior to initialization; attempted to call method 'disable'
at Function.error (jquery-3.2.1.js:273)
at HTMLDivElement. (jquery-ui-1.10.2.custom.js:487)
at Function.each (jquery-3.2.1.js:362)
at jQuery.fn.init.each (jquery-3.2.1.js:157)
...

  error @ jquery-3.2.1.js:273
  (anonymous) @ jquery-ui-1.10.2.custom.js:487
  each @ jquery-3.2.1.js:362
  each @ jquery-3.2.1.js:157
  $.fn.(anonymous function) @ jquery-ui-1.10.2.custom.js:483
  (anonymous) @ gridstack.js:649
  arrayEach @ lodash.js:537
  forEach @ lodash.js:9359
  GridStack.onResizeHandler @ gridstack.js:642
  dispatch @ jquery-3.2.1.js:5206
  elemData.handle @ jquery-3.2.1.js:5014

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