You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the same problem, https://github.com/yanivam/react-svg-worldmap/blob/main/lib/src/utils.ts#L30-L48 just calculates a 75% ratio of the window inner with, that has nothing to do with "responsiveness" honestly. It's not possible to dynamically enlarge to the given container size, e.g. with Tailwind. That's kind of an showstopper honestly.
Describe the bug
It seems like the
responsive
size calculation doesn't run in some cases/stops at some sizes.To Reproduce
Expected behavior
It should not jump in sizes, but smoothly grow/shrink with the window.
It also seems to only start to calculate at some specific sizes, so if your with is too much, it never calculates the size it should be at?
And it breaks when it gets really small (which probably isn't unexpected, but I would have hoped for a smaller size)

Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: