hlfan left a comment (openstreetmap/openstreetmap-website#6265)
We don't want to stop all clicks from happening, only the ones while dragging.
The "drag" event that ends up there is indistinguishable from an intended click.
If we want links to end up there without intervention (`a.click()` or similar),
we need to prevent them when dragging.
And the least convoluted way to do that is to remove the `href`.
Hence this PR.
But if the detection of "when dragging" is faulty, to me, there don't seem to
be any criteria left to consider.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6265#issuecomment-3129953807
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6265/c3129953...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev