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.

And here is a codesandbox with the example.
https://codesandbox.io/s/gracious-greider-08zrq
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.

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