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

vsSelect DOM Exception #424

Open
cliqer opened this issue Jan 6, 2019 · 11 comments
Open

vsSelect DOM Exception #424

cliqer opened this issue Jan 6, 2019 · 11 comments

Comments

@cliqer
Copy link

cliqer commented Jan 6, 2019

  • Your OS: MacOS High Sierra
  • Node.js: LTS 10.14.2
  • Vuesax: 3.8.0
  • Browser: Chrome
  • Which package manager did you use for the install? Yarn

Using Nuxt, installed as a plugin and vuesax works with ssr.
Created a page and copied the Single selection example

It works but when leaving page I get:

DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at VueComponent.beforeDestroy (https://konpoli.eu/_nuxt/vendors.app.js:34728:12)
    at callHook (https://konpoli.eu/_nuxt/commons.app.js:14512:21)
    at VueComponent.Vue.$destroy (https://konpoli.eu/_nuxt/commons.app.js:14285:5)
    at destroy (https://konpoli.eu/_nuxt/commons.app.js:15750:27)
    at invokeDestroyHook (https://konpoli.eu/_nuxt/commons.app.js:17309:59)
    at invokeDestroyHook (https://konpoli.eu/_nuxt/commons.app.js:17314:9)
    at VueComponent.patch [as __patch__] (https://konpoli.eu/_nuxt/commons.app.js:17662:30)
    at VueComponent.Vue.$destroy (https://konpoli.eu/_nuxt/commons.app.js:14308:8)
    at destroy (https://konpoli.eu/_nuxt/commons.app.js:15750:27)
    at invokeDestroyHook (https://konpoli.eu/_nuxt/commons.app.js:17309:59)
@dker92
Copy link

dker92 commented Jan 7, 2019

I got the same problem...

@webafra
Copy link

webafra commented Jan 7, 2019

I got the same problem !!!

fixed here :
master...webafra:patch-1

@cliqer
Copy link
Author

cliqer commented Jan 8, 2019

@webafra unfortunately this is not a solution as the component is never destroyed, right?

@webafra
Copy link

webafra commented Jan 8, 2019

@gianniskarmas The elements created on the page are automatically deleted and you do not need to use this code!
I do not know what the reason for using this code is!

@Pedrazl
Copy link
Contributor

Pedrazl commented Jan 14, 2019

Same problem for me...

@cliqer
Copy link
Author

cliqer commented Jan 14, 2019

Already tried to make the change @webafra suggested in node_modules/vuesax/dist/components/vsSelect.vue as also in src folder but still can't fix it then tried to build but got error that vue build has been deprecated.
Any suggestions?

@Pedrazl
Copy link
Contributor

Pedrazl commented Jan 14, 2019

Yeah, I had the same problem trying to fix another bug. It was imposible to compile the project to work on it, I sent an issue time ago about -- > #405 , but I'm still waiting.
I'm worried, no releases since October...

@ccalvarez
Copy link

ccalvarez commented Jan 14, 2019

In case one could build the library, what approach would be the recommended?, to publish own package in own npm account? Or could it be possible to import the library without publishing a package?

I just ask because I have an application in production and I wanted to add error logging with Sentry.io, but with the current version of vuesax npm package, I would log a lot of these known errors.

Thanks.

@Pedrazl
Copy link
Contributor

Pedrazl commented Jan 15, 2019

@ccalvarez If you can build the library, you can save it into your project folders (the classic 'lib'), and set a reference in the initial load.

@luisDanielRoviraContreras
Copy link
Member

Hello everyone, try to reproduce the error but I can not do it, you can give me an example to fix it, thank you very much to all

@Pedrazl
Copy link
Contributor

Pedrazl commented Jan 22, 2019

Hi @luisDanielRoviraContreras ,
with the last release the problem has been fixed.
thanks for your work

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

6 participants