See #6509 . ### Description These lines were causing the map to zoom out whenever the changeset history panel was closed. After reviewing their purpose, it seems they are not necessary: once we exit the history view, there’s no need to adjust the map to fit the bounds of the history changesets. Removing them fixes the zooming issue and does not affect any other map behavior.
### Screenshots old version: https://github.com/user-attachments/assets/16283fd0-7abb-4b93-ae29-4b356b148b23 new version: https://github.com/user-attachments/assets/58acd6bf-7c2d-42bc-bba1-c860a1e38bfe You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6514 -- Commit Summary -- * No need to fixBounds when page is not /history -- File Changes -- M app/assets/javascripts/index/history.js (4) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6514.patch https://github.com/openstreetmap/openstreetmap-website/pull/6514.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6514 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________ rails-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/rails-dev
