mirror of
https://github.com/discourse/discourse.git
synced 2025-05-07 12:13:06 +08:00

We need to scroll lock textareas when the keyboard is visible, otherwise they might become unusable if another element is body scroll locked on the page (eg: channels messages). Note this commit is also slightly simplifying the code.