I have two divs stacked together and one is behind the other.
<div style='position:relative;'>
<div style='position: absolute; top:0; left:0;'>
bottom element
</div>
<div style='position: absolute; top:0; left:0;'>
top element
</div>
</div>
I installed a click listener to both elements.
However, only the top one gets the event.
Some other posts suggest that I can use pointer-event:none to give up handling the click event from the top element.
However, I want to handle the click events in both elements.