0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/app/assets
Renato Atilio c14b130e27
UX: composer redesign > keep editor expanded on inner focus (#41882)
On mobile, the redesigned composer slides the editor up over the
composer fields while the editor is focused. The state was driven off
the editor's own focusin/focusout, so focus moving to an interactive
control rendered inside the editor content collapsed the slide-up.

This regresses NodeView-based content: focusing the event card's native
inputs, or opening a footnote's nested editor, moves DOM focus off the
outer contenteditable and drops the focus state, sliding the composer
fields back over the control being edited.

These controls live inside the editor wrapper (not a portal), so match
`:focus-within` alongside the existing focus states to keep the editor
expanded for the whole time focus stays within it.
2026-07-21 19:34:41 -03:00
..
images FIX: Duplicate notifications when mentioned in chat (#39670) 2026-04-30 14:52:39 -03:00
stylesheets UX: composer redesign > keep editor expanded on inner focus (#41882) 2026-07-21 19:34:41 -03:00