mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 03:35:15 +08:00

This fix uses direct `scrollTop` manipulation instead of `scrollIntoView` when we are certain we actually want the bottom of the screen. This avoids a range of issues especially in safari but also chrome where the scroll position was not correct at the end of `scrollIntoView`, especially due to images.