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.
[x] When I enable a parameter in the sidebar and flip to the content pane,
[x] 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}
[] ... and (if narrow + desktop) the text cursor should be in the input field for the parameter I just added
[x] ... but (if narrow + mobile) the input field should not be focused
[x] Same when I click on a parameter name that's already checked.
[x] Same when I press enter on the parameter.
[x] 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.
[x] … and scroll into view.
[ ] also for wikitext inputs
Related work already done via {T289043}.
Other possibly related tickets:
- {T294348}