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

onMouseEnter isn't triggered when moving between layers from different sources #1671

Open
ghost opened this issue Jan 6, 2022 · 2 comments · May be fixed by #2126
Open

onMouseEnter isn't triggered when moving between layers from different sources #1671

ghost opened this issue Jan 6, 2022 · 2 comments · May be fixed by #2126
Labels

Comments

@ghost
Copy link

ghost commented Jan 6, 2022

I wanted onMouseEnter to trigger when moving between layers from different sources but it only triggers for the first layer entered.

Here is a gif showing the problem.
map-gl

And here is a codesandbox with the example.
https://codesandbox.io/s/gracious-greider-08zrq

@ghost ghost added the bug label Jan 6, 2022
@rgazelot
Copy link

@kewersonhugo you can maybe play with onMouseMove and look into the event.features?

@joel-daros
Copy link

Any news about this?

Jungzl added a commit to Jungzl/react-map-gl that referenced this issue Feb 23, 2023
Jungzl added a commit to Jungzl/react-map-gl that referenced this issue Feb 23, 2023
Jungzl added a commit to Jungzl/react-map-gl that referenced this issue Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants