[openstreetmap/openstreetmap-website] User's history does not adjust zoom properly when zoomed in (Issue #4283)
danieldegroot2
notifications at github.com
Tue Oct 10 16:31:23 UTC 2023
### URL
https://www.openstreetmap.org/user/pedrito1414/history
### How to reproduce the issue?
### **Observed behaviour**
1. For this example, be zoomed into, let's say, max zoom level (or some rather high zoom level).
2. Go to https://www.openstreetmap.org/user/pedrito1414/history or a user's history with a change some ways down the globe. (here: zooms out to **level 3**)
3. See -or rather don't see- the changeset being obscured by i.e. the attribution.
### **Expected behaviour**
User's changeset history always zooms to the proper zoom level to cover all changesets fully, also when zoomed in prior.
(here: zooms out to **level 2**)
### **Screenshots**
When **zoomed in** prior to opening user's changeset history, site does not zoom out properly, obscures changeset at bottom

When **zoomed out** prior to opening user's changeset history, site goes to proper zoom level to cover changesets fully.

(red: obscured changeset, blue: approximated viewing box for zoom level 3 in comparison to zoom level 2 as shown.)
### **Workaround**
- Be zoomed out already; or
- In the user's changeset history on the left, click on the entry which is obscured; or
- Click on the user's name and then click on the user's changeset history again; or
- Reload the page.
---
Related: https://github.com/openstreetmap/openstreetmap-website/issues/648#issuecomment-1732102275
### Screenshot(s) or anything else?
See above.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4283
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4283 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231010/82f0adcf/attachment.htm>
More information about the rails-dev
mailing list