-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Tap click component on #document error when tapping on Cordova Google Map #901
Comments
My first patch was not working as expected. It was blocking the map draging.
I didn't test on iOs |
@loicfavory Does the stack trace from the error indicate which function in the ionic native google maps plugin is causing the error? It looks like just an issue of the wrong element reference being passed down somewhere. |
@amuramoto There is the stack trace:
Google Map Cordova is installed from the git repo:
|
It seems that the issue only occur when I'm using livereload |
Doesn't seem like an Ionic Native issue. |
Hello everyone, As I mention here (ionic-team/ionic-framework#9942 (comment)), the reason behind this issue :
from https://github.com/mapsplugin/cordova-plugin-googlemaps/wiki/Map#mapsetclickable Can anyone confirm please :) ? |
@camaam thanks for your reply |
From @loicfavory on December 20, 2016 14:0
Ionic version: (check one with "x")
[ ] 1.x
[ X ] 2.x
I'm submitting a ... (check one with "x")
[ X ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Since I updated to 2.0.0-rc4 I have a bug with Cordova Google Maps.
If I tap on the map, it cause an error on tap-click component in ionic-angular :
In file
node_modules/ionic-angular/components/tap-click/tap-click.js
"ele.hasAttribute is not a function", line 203:
Expected behavior:
Map should be tappable without error. Worked fine with 2.0.0-rc3
Steps to reproduce:
Install cordova-google-map plugin
tap on the map
Related code:
Seems, that when I tap on the map, in fact I tap on #document, #document has no hasAttribute function.
I can correct the bug, by testing the type of the function:
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):Copied from original issue: ionic-team/ionic-framework#9726
The text was updated successfully, but these errors were encountered: