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

> If what you propose is sidebar scrolling frantically as you move your mouse 
> over the map (and not scrolling anywhere when you're using a device without a 
> mouse), I expect about 10x more posts starting with "This should be reverted".

Considering that your implementation doesn't really solve the issue of "it's 
difficult to find the corresponding changesets in the sidebar" I don't think 
you should be dismissive of the scroll into view idea, which would make it 
incredibly easy and intuitive to see what changeset you're hovering over is 
without having to click on it.

Give it a try and see if it works as a viable option rather than outright 
dismissing it, surely it shouldn't be too hard to implement `scrollIntoView()` 
[Mozilla 
docs](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView) 
into the function that adds the selected css class, and get some feedback from 
the community forums. Sure it might jump around if you move your mouse all over 
the map but it makes intuitive sense.

Playing a how/cold game to hunt down a changeset does not make sense, however I 
guess on mobile it's fine.

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/5924/c2816201...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to