Page MenuHomePhabricator

Fix "JQMIGRATE: jQuery.fn.offset() requires an element connected to a document" in RCFilters
Closed, ResolvedPublic

Description

This happens when the filters popup opens.

JQMIGRATE: jQuery.fn.offset() requires an element connected to a document
migrateWarn
jQuery.fn.offset
OO.ui.Element.static.getRelativePosition
mw.rcfilters.ui.FilterTagMultiselectWidget.scrollToTop
mw.rcfilters.ui.FilterTagMultiselectWidget.onInputFocus
...

Note: ooui might be the place to fix this but it might also be caused by our usage since some of our widgets are customized maybe more than they should be.

Event Timeline

Krinkle triaged this task as High priority.Jul 12 2021, 4:11 PM
Krinkle subscribed.

Raising priority as this is blocking the jQuery upgrade in production.

Krinkle claimed this task.