mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 20:33:03 +08:00
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. |
||
|---|---|---|
| .. | ||
| images | ||
| stylesheets | ||