diegoazh / gmap-vue

A wrapper component for consuming Google Maps API built on top of Vue. Fork of the popular vue-google-maps plugin.
https://diegoazh.github.io/gmap-vue/
173 stars 51 forks source link

Need help on: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'. #295

Closed pham-dat closed 1 year ago

pham-dat commented 1 year ago

What you try to do

What is the problem

Our log sometimes has this error Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'. which comes from these lines: image Can you add a check for window[recycleKey].div too?

What kind of things have you already treated

I think somehow this code in beforeDestroy() was not executed, therefore window[recycleKey].div is undefined image

Steps to reproduce

This error seems to only occur in Microsoft Edge

Os

Mobile

Versions

Package manager

Plugin version