Skip to content

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

Open
@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions