[openstreetmap/openstreetmap-website] Change colors of changeset bboxes when they enter/exit the viewport (PR #5924)

mxdanger notifications at github.com
Thu Apr 17 03:43:18 UTC 2025


mxdanger left a comment (openstreetmap/openstreetmap-website#5924)

This should be reverted. It's really trying to solve a problem but going about it in the wrong way. This PR just visualizes the annoyance of not being able to see that the changeset you're hovering over is.

Here's my proposal:

1. Revert this PR as it won't be needed anymore.
2. Use `scrollIntoView()` to bring the selected list-group-item into view in the sidebar so you can always see what you're hovering over in the map.
3. If we're feeling generous, use `scroll-behavior: smooth;`
4. Say goodby to the days of trying to find the corresponding changesets in the sidebar.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5924/c2811658437 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250416/ddb0ca7d/attachment-0001.htm>


More information about the rails-dev mailing list