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

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

Open
MarcMenghin opened this issue Nov 21, 2022 · 1 comment
Open

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

MarcMenghin opened this issue Nov 21, 2022 · 1 comment
Labels

Comments

@MarcMenghin
Copy link

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

@MarcMenghin
Copy link
Author

My current workaround is to forcefully hide the generated UI with CSS.

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

No branches or pull requests

1 participant