Skip to content

[BUG] dataOnly will create an exception in move event creation #201

@MarcMenghin

Description

@MarcMenghin

Describe the bug
Errors are thrown from move event when dataOnly is set to true.

To Reproduce
sample code: https://gist.github.com/MarcMenghin/a20f59370d66f30a97510f30b0fd4c2f

Expected behavior
move events are fired just like if dataOnly is set to false.

Desktop (please complete the following information):

  • OS: [windows, linux]
  • Browser [firefox, chrome]
  • Version [ff-107, c-107]

Additional context

Uncaught TypeError: o.el is undefined
    processOnMove https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    p https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    processOnStart https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    onstart https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    v https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    onstart https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    i https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    p https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    bindEvt https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    bindings https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    E https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    createCollection https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    create https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    create https://cdnjs.cloudflare.com/ajax/libs/nipplejs/0.10.0/nipplejs.js:1
    <anonymous> file:///C:/Users/marcm/Development/engel/samples/nipplejs/index.html:53
nipplejs.js:1:14702

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions