facebook / Rapid

The OpenStreetMap editor driven by open data, AI, and supercharged features
https://rapideditor.org
ISC License
519 stars 92 forks source link

Consider replacing d3 popover/tooltip code with native Popovers #1401

Open bhousel opened 6 months ago

bhousel commented 6 months ago

Since April 2024, Popover API is supported in all evergreen browsers. We can probably replace a lot of our complex d3 code for drawing tooltips and popovers with much simpler code that works across browsers. see: https://developer.mozilla.org/en-US/docs/Web/API/Popover_API

eneerhut commented 1 month ago

Have we noticed issues with tooltips and other popovers across different browsers @bhousel?

bhousel commented 1 month ago

Have we noticed issues with tooltips and other popovers across different browsers @bhousel?

Not really - this is more about clearing away tech debt.

eneerhut commented 1 month ago

Ok thanks for clarifying @bhousel