'How to fire events for the underlying ImageOverlay when overlapping

I'm using react-leaflet v3.2.1.

When two ImageOverlays overlap, only one layer fires mouse event. Is there a way to fire both events?

referred to the StackOverflow here: Leaflet event: how to propagate to overlapping layers

But the plugin mentioned above is not compatible with react-leaflet because it is a leaflet plugin.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source