Skip to content

Conversation

@pricop
Copy link
Contributor

@pricop pricop commented Feb 3, 2026

Sorry for bundling all the fixes at once but I don't have enough time to break everything apart:

This pull request fixes the following:


For issue: #167

  • Fixed require() node function call completely breaking the ES6/UMD bundle

For issue: #165 and #169

  • Fixed the country highlight is no longer removed once the mouse has left the country's boundaries, essentially letting the "active" border around it on Windows devices (see video).
  • Fixed the country tooltip is "stuck" on the edge if the mouse goes outside the boundary of a country, but doesn't land on another target on Windows devices (see video).
  • Fixed the href URLs applied to each dataset is not opening on Windows devices (not working at all).

Here's a video demonstrating that it works as it should now (you can compare it with the video from the issue: issue):

Desktop.2026.02.04.-.05.28.55.26.mp4

For issue: #170

  • Fixed datasets with URLs instantly opening on mobile devices (very bad UX, the user cannot see the tooltip information before being sent away from the page)
  • Fixed datasets with URLs not opening at all on Windows devices
  • Improved the UX on mobile devices: On touch (tap), we first show the tooltip, and ONLY on a subsequent tap we nagivate the user away. This is the expected UX on all major chart libraries.
  • Improved the UX on mobile devices: when dragging out of a country boundaries onto unused (ocean) space, the tooltip fades away

Here's a video demonstrating that it works as it should now (you can compare it to the video from the issue):

ziq6di.mp4

With these changes, we're moving away from the mouse events in favor of pointer events, with fewer overlapping events that could conflict with eachother.

As a bonus, since switching to pointer based events, support for pen devices such as Apple Stylus and basically any other pen (but not only) pointing device is greatly improved.

- Fixed stuck tooltips (when going out of a country boundaries) while hovering on Windows devices
- Fixes datasets that have a href URL not opening the URL on Windows devices
- Improved UX on mobile devices: datasets that have a href URL attached to them now open the URL on a subsequent tap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant