Original report
When I was finishing the translation of [[en:Reflection symmetry]] to [[pt:Simetria de reflexão]], the two categories from the English Wikipedia did not exist in Portuguese. So, I typed them in the box available in the translation. Then, when I clicked on the label one of these categories, I got the following error in the console:
Uncaught TypeError: item is null load.php:320:783 jQuery 5 scrollItemIntoView onTagSelect emit emit select <anonymous> self-hosted:1161 jQuery 2 dispatch handle
Steps to reproduce
- Start translating an article in CX
- Add a category
- Click the name of the added catetory
Trace
Uncaught TypeError: Cannot read properties of null (reading 'scrollElementIntoView') at OoUiMenuSelectWidget.OO.ui.SelectWidget.scrollItemIntoView (SelectWidget.js:419) at CategoryMultiselectWidget.OO.ui.MenuTagMultiselectWidget.onTagSelect (MenuTagMultiselectWidget.js:198) at CategoryMultiselectWidget.OO.EventEmitter.emit (oojs.js?0db85:901) at CategoryTagItemWidget.OO.EventEmitter.emit (oojs.js?0db85:901) at CategoryTagItemWidget.OO.ui.TagItemWidget.select (TagItemWidget.js:218) at HTMLDivElement.dispatch (jquery.js?28492:5430) at HTMLDivElement.elemData.handle (jquery.js?28492:5234)
Impact
None known.