On narrow (mobile) screens, the template dialog collapses so that only one side is shown at a time. The button at the bottom flips between the two sides. This ticket is exclusively about this mode.
- When I enable a parameter in the sidebar and flip to the content pane,
- the parameter should scroll into view at the top of the screen. The parameter label should be at the top, with the description and input field directly below. This should work the same way as T299036: VE Dialog: Clicking template or parameter name scrolls it to top of dialog
- ... and (if narrow + desktop) the text cursor should be in the input field for the parameter I just added
- ... but (if narrow + mobile) the input field should not be focused
- Same when I click on a parameter name that's already checked.
- Same when I press enter on the parameter.
- When I put the text cursor in an input field in the content pane, and then flip to the sidebar, the corresponding item in the sidebar should be highlighted.
- … and scroll into view.
- also for wikitext inputs
Related work already done via T289043: [Epic] Synchronize scroll, highlight, and focus in new VE template dialog sidebar and content pane.
Other possibly related tickets: