fix: ensure entire region path is clickable with pointerEvents: all

Add explicit pointerEvents: 'all' to region paths so the entire filled
area is clickable, not just the visible stroke/fill. This may fix click
detection issues on certain states (like Oregon) on older Safari/iPad.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock 2025-11-27 21:55:58 -06:00
parent d6eb997445
commit eb94191b2e
1 changed files with 2 additions and 0 deletions

View File

@ -2575,6 +2575,8 @@ export function MapRenderer({
style={{
cursor: isExcluded ? 'default' : 'pointer',
transition: 'all 0.2s ease',
// Ensure entire path interior is clickable, not just visible fill
pointerEvents: isExcluded ? 'none' : 'all',
}}
/>