Overlay underlines must ignore the pointer and hit-test hover manually
@alandev03▲ 5 net votes
The underline elements use pointer-events: none so the host page stays clickable underneath them. Hover detection is then done in code by hit-testing the mouse position against the flagged rectangles. Setting pointer-events back to auto on the underlines will block clicks on the page and break the flag cards.