[openstreetmap/openstreetmap-website] Add geo URI handler registration on link interaction (PR #5968)

Anton Khorev notifications at github.com
Tue Aug 26 15:55:37 UTC 2025


@AntonKhorev commented on this pull request.



> @@ -29,6 +29,8 @@ L.OSM.share = function (options) {
 
     $ui.find(".share-tab [id]").on("click", select);
 
+    $("#geo_uri").on("mouseover click focus", askToHandleGeoURI);

Is `mouseover` a good idea? I move my mouse pointer over the link and then this thing pops up on top, shifting everything down (Firefox):
<img width="503" height="52" alt="image" src="https://github.com/user-attachments/assets/11823bf3-5c39-47a0-9669-842631dde589" />

I wouldn't want links moving away from my pointer.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5968#pullrequestreview-3156316744
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5968/review/3156316744 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250826/6335f41e/attachment.htm>


More information about the rails-dev mailing list