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:
parent
d6eb997445
commit
eb94191b2e
|
|
@ -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',
|
||||
}}
|
||||
/>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue