Skip to content

3.0.0 HTML5 drag'n'drop initial GridStack.enable() Error #1505

@infime

Description

@infime

Subject of the issue

Calling enable() with the new native drag'n'drop throws an Error.

Your environment

  • v3.0.0 HTML5
  • Chrome 86.0.4240.111

Steps to reproduce

Will follow up with a reproduction

Expected behavior

Calling enable should not throw an error

Actual behavior

Stack trace

gridstack-dd-native.js?9be6:33 Uncaught (in promise) TypeError: Cannot read property 'enable' of undefined
    at eval (gridstack-dd-native.js?9be6:33)
    at Array.forEach (<anonymous>)
    at GridStackDDNative.resizable (gridstack-dd-native.js?9be6:31)
    at eval (gridstack-dd.js?a66a:484)
    at Array.forEach (<anonymous>)
    at GridStack.gridstack_1.GridStack.resizable (gridstack-dd.js?a66a:473)
    at eval (gridstack.js?7e36:558)
    at Array.forEach (<anonymous>)
    at GridStack.enableResize (gridstack.js?7e36:558)
    at GridStack.enable (gridstack.js?7e36:527)

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