Skip to content
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

Layer with "Icon-offset" does not trigger mouseenter/click event (0.44.1) #6436

Closed
benderlidze opened this issue Apr 2, 2018 · 1 comment

Comments

@benderlidze
Copy link

I have 2 layers with mouse events - circle and symbol (some icon for circle)
And when I use
"icon-offset": [-500, 0],
the symbol layer does not triger the mouseenter/click event
Here is a fiddle http://jsfiddle.net/5xdmpthw/1/

But when I set the offset to "icon-offset": [-200, 0](actually it overlaps the circle layer now) it is ok, the event is triggered, but I don't want to overlap the circle layer
I have tried it with 0.42.2 and it looks ok but got some other bugs.
Any help? Thanks.

@anandthakker
Copy link
Contributor

Thank you for the report and the isolated test case! This was fixed in #6135, which will be included in the forthcoming 0.45 release. (Confirmed locally that the issue does not appear on master)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants