-
Notifications
You must be signed in to change notification settings - Fork 33
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
Cannot read properties of undefined (reading 'getElementsByTagName') #74
Comments
Hello! Sorry for the late reply. I'll try to reproduce it later and see what is happening. Seems like a specific situation you found hmm |
Ok, this is related to #15 ): The main problem with this part of the code is that we need to get the component that comes as slot, but we have a struggle with use a framework vs not use a framework... really want to find a solution, but it was not possible just yet. I believe that if we find a better solution for
all the problem will be fixed for everyone. Let us know if you have any suggestions. Also, I really want to make this library better, but I lack on time to organize it. |
@NathanAP I have found to have issues with this exact part of the code when using slots. After some debugging, I've come to this solution by using the
Because that's the only way I've found to use the custom input slot. Anyway, I'm not sure if this can introduce new errors, so that's why I'm not opening a pull request. I have to mention that I'm using Ionic, so the |
Hello @dmoyadev ! Thanks for the suggestion! Just to add a context on why this is a big trouble because I don't know how much time you use this library:
I would recommend you to create a PR, there is no shame here, every suggestion is welcome. We all want to make it work without breaking anyone's code. |
@dmoyadev did you end up finding a solution? |
Does the following PR resolve the issue Tested with Vuetify and works as expected |
Describe what you're reporting
The
GMapAutocomplete
component is throwing an error:The error points to here:
How can we reproduce it?
Use the
GMapAutocomplete
like this:Full reproduction available here: https://github.com/anatolykopyl/vue-google-maps-community-fork-reproduction
Device or enviroment
The text was updated successfully, but these errors were encountered: