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

Vue2-dragula can't support IE browser , and cause these errors. #11

Open
appliqiang opened this issue Jul 4, 2017 · 2 comments
Open

Comments

@appliqiang
Copy link

[Vue warn]: Error in directive dragula inserted hook: "TypeError: 对象不支持“find”属性或方法"

[object Error]{description: "对象不支持“find”...", message: "对象不支持“find”...", name: "TypeError", number: -2146827850, stack: "TypeError: ..."}

@kristianmandrup
Copy link
Owner

I don't have IE and I don't read Chinese. You are welcome to debug and submit a patch with a PR.
Also, demo is missing :key on lists to work smoothly with Vue 2.2+

@razh
Copy link
Contributor

razh commented Jul 14, 2017

@appliqiang You need an Array.prototype.find polyfill.

There are a few on npm, as well as this version on MDN:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find#Polyfill

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

No branches or pull requests

3 participants