mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-21 02:22:51 +00:00
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:
parent
de84364ae8
commit
80ab08a1cd
|
@ -36,7 +36,8 @@ ve.ui.EditCheckDialog.static.size = OO.ui.isMobile() ? 'full' : 'medium';
|
|||
|
||||
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
|
||||
ve.ui.EditCheckDialog.static.title = OO.ui.deferMsg( 'editcheck-review-title' );
|
||||
|
|
Loading…
Reference in a new issue