mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 23:15:59 +08:00

Unlike other browsers, Safari maintains focus on elements even when they are hidden. And since the composer is fixed-positioned when hidden, closing the composer on a topic with several replies causes Safari to scroll the window up. Deliberately blurring the focused element fixes the issue.