Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Inconsistent strokewidth for hovering effect #317

Open
ziyue5 opened this issue Jan 18, 2023 · 2 comments
Open

Inconsistent strokewidth for hovering effect #317

ziyue5 opened this issue Jan 18, 2023 · 2 comments

Comments

@ziyue5
Copy link

ziyue5 commented Jan 18, 2023

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!!

@ihor-stack
Copy link

Any update on this ? Same issue here.

@ziyue5
Copy link
Author

ziyue5 commented Jun 20, 2023

Any update on this ? Same issue here.

Sorry, still no solution

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants