The issue is present on mobile for the following scenarios (see the details In Steps)
- deleting Template
- deleting wikifunction
- deleting table
- deleting reference list
Steps to replicate the issue :
- start editing an article that has a template, e.g. https://test.m.wikipedia.org/wiki/MavetunaZialnt30_2 has both a template and a wikifunction.
- click on one of the article's templates so the dialog (ve-ui-mobileContext-menu) appears
What happens?:
- click on the Delete option (precisely on the label 'Delete") - the Help overlay will appear (see the gif below) the gif is about wikifunction dialog but the same issue is present with the template dialog:
What should have happened instead?:
- the Help button should not be clickable if it's not visible
Software version : the issue is present on wmf.6
Notes
- the issue is also present on the following VE insert options
(1) Insert table - this case is especially severe since an inserted table on mobile can be deleted only via the source editor.
- Clicking on 'Delete" icon doesn't produce any actions
- Clicking on X brings up the Help panel overlay and the Console error
ve.ui.MWAceEditorWidget.js:406 Uncaught TypeError: Cannot read properties of null (reading 'fail')
at ve.ui.MWAceEditorWidget.adjustSize (ve.ui.MWAceEditorWidget.js:406:22)
at OO.ui.MultilineTextInputWidget.onElementAttach (oojs-ui-core.js:12303:7)
at connectDetectorNode.onConnectOOUI (oojs-ui-core.js:11733:9)
at HTMLElement.connectedCallback(2) Insert Referemce List
- Clicking on 'Delete" icon doesn't produce any actions

