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

DOMException when using a Wizard #84

Open
ghost opened this issue Mar 25, 2019 · 0 comments
Open

DOMException when using a Wizard #84

ghost opened this issue Mar 25, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 25, 2019

Hello there,

I am currently facing a problem with the simple wizard component. For what seems to be random, every once in a while the component fails to mount when the page is loading up. The error that I am receiving is as follows:

DOMException: Failed to execute 'querySelectorAll' on 'Document': '#0bu2e4 .wizard-tab-link' is not a valid selector.
    at VueComponent.onResize (http://localhost:8080/app.js:13105:31)
    at VueComponent.addTab (http://localhost:8080/app.js:12989:12)
    at VueComponent.mounted (http://localhost:8080/app.js:13155:10)
    at invokeWithErrorHandling (http://localhost:8080/app.js:73173:57)
    at callHook (http://localhost:8080/app.js:74406:7)
    at Object.insert (http://localhost:8080/app.js:75738:7)
    at invokeInsertHook (http://localhost:8080/app.js:77553:28)
    at Vue.patch [as __patch__] (http://localhost:8080/app.js:77772:5)
    at Vue._update (http://localhost:8080/app.js:74136:19)
    at Vue.updateComponent (http://localhost:8080/app.js:74257:10) mounted hook

Simply wrapping the onResize() method on a try...catch seems to take care of it, but I do not know if that has indirect consequences.

Thanks

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

0 participants