-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Marker element click event throws: Uncaught TypeError: Cannot read property 'x' of null #7864
Comments
Because |
@cs09g good find! Want to submit a PR with the fix? |
@mourner sure :) but I'm off about a week for holiday so, it would be taking a week. |
@cs09g Thanks very much, I fixed this issue in local repository. |
@ParryQiu Are you able to commit the fix? |
+1 - having the exact same issue on v 0.53.1 and only seeing it when triggering a marker click programmatically. |
fixed if marker click is triggered programatically, throw the exception. mapbox#7864
mapbox-gl-js version: 0.52.0
browser: macOS Chrome Version 71.0.3578.98 (Official Build) (64-bit)
Steps to Trigger Behavior
Link to Demonstration
https://jsfiddle.net/ParryQiu/hnkwqfue/12/
console out put error:
The text was updated successfully, but these errors were encountered: