-
Notifications
You must be signed in to change notification settings - Fork 517
Console Error: Cannot read property 'parentElement' of null when using maps-lazy-load-params on NgMap page #879
Comments
I'm seeing the same issue. Working on a fix... |
Any update on this? Thank you! |
I believe this happens because of a racing condition. I think Chrome browser tries perform faster than before. I can wrap like with a if condition
|
v1.18.5 is released with this fix |
Thank you! |
HI @allenhwkim , when will you release this version v1.18.5 ? EDIT: |
Hi @allenhwkim, When are you going to realease the mentioned version with the bug fix? |
For future reference: It is released here.
|
Thanks for the quick reply, enjoy the day and thanks for your great work! 👍 |
Good day Allen,
When viewing the NgMap demo page at: https://ngmap.github.io/#/!map-lazy-load-params.html
A console error is displayed when clicking on the map marker to open the info window.
Steps to reproduce - no plunker provided as this exists on the NgMap demo page
Current behavior
TypeError: Cannot read property 'parentElement' of null
at info-window.js:114
at angular.js:16299
at completeOutstandingRequest (angular.js:4924)
at angular.js:5312"
Line 114 of info-window.js
var infoWindowContainerEl = infoWindow.content.parentElement.parentElement.parentElement;
Expected/desired behavior
Other information
The text was updated successfully, but these errors were encountered: