mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 12:08:12 -05:00
This commit removes various hacks and replace them by using the new
modifier: `{{preventScrollOnFocus}}`.
Applied this fix to:
- emoji picker modal
- fast edit modal
- add post notice
We might have other modals to fix in the future. Generally the fix
should be the same, order matters though, and the modifier has to be
before any `{{autoFocus}}` or similar behavior.