EditCheck: Only preserve native selection on desktop

On mobile, we need to deactivate the surface so that
the checks are visible where the virtual keyboard
would be.

Change-Id: Ib108f8a0abb6fe9b503ac394188d3468f9a316cb
This commit is contained in:
Ed Sanders 2024-12-17 15:40:26 +00:00
parent de84364ae8
commit 80ab08a1cd

View file

@ -36,7 +36,8 @@ ve.ui.EditCheckDialog.static.size = OO.ui.isMobile() ? 'full' : 'medium';
ve.ui.EditCheckDialog.static.framed = false; ve.ui.EditCheckDialog.static.framed = false;
ve.ui.EditCheckDialog.static.activeSurface = true; // TODO: Keep surface active on mobile for some checks?
ve.ui.EditCheckDialog.static.activeSurface = !OO.ui.isMobile();
// Invisible title for accessibility // Invisible title for accessibility
ve.ui.EditCheckDialog.static.title = OO.ui.deferMsg( 'editcheck-review-title' ); ve.ui.EditCheckDialog.static.title = OO.ui.deferMsg( 'editcheck-review-title' );