react-simple-maps icon indicating copy to clipboard operation
react-simple-maps copied to clipboard

Inconsistent strokewidth for hovering effect

Open ziyue5 opened this issue 2 years ago • 2 comments

I am drawing US map and style it with style={{ default: { stroke: '#FAFAFA', strokeWidth: 0.75, outline: 'none' }, hover: { stroke: '#232323', strokeWidth: 2, outline: 'none' }, pressed: { fill: '#345feb', outline: 'none' } }}

However, the width of stroke is inconsistent for different states and even for the single state as shown below: image image You can see the width of stroke for WY and NE are different. And the width is not consistent for WY. What should I do to fix it? Thanks so much!!

ziyue5 avatar Jan 18 '23 04:01 ziyue5

Any update on this ? Same issue here.

ihor-stack avatar Jun 19 '23 13:06 ihor-stack

Any update on this ? Same issue here.

Sorry, still no solution

ziyue5 avatar Jun 20 '23 04:06 ziyue5