Page MenuHomePhabricator

Android on screen keyboard messes with new sidebar interaction
Closed, ResolvedPublic3 Estimated Story PointsBUG REPORT

Description

List of steps to reproduce

  • Use an Android phone to edit a page with a template on beta cluster
  • Make sure the dialog is in narrow mode
  • a) Open the sidebar
  • a) Click into the parameter search in the sidebar
  • b) Click into an input field on the content side
  • b) Click on the button to open the sidebar

What happens?:

  • a) The search input field gets focus
  • a) On screen keyboard opens
  • b) The sidebar opens
  • (Assumed) Screen re-draws
  • Keyboard closes
  • You'll get thrown back to the content side

What should have happened instead?:

  • Stay on the sidebar

Software version:
Android 10 / Chromium 90 & FF 92

Event Timeline

lilients_WMDE renamed this task from Android on screen keyboard messes with new sidbar interaction to Android on screen keyboard messes with new sidebar interaction .Oct 7 2021, 9:02 AM

Change 727320 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/VisualEditor@master] Only trigger sidebar recalculation when width changes

https://gerrit.wikimedia.org/r/727320

WMDE-Fisch set the point value for this task to 3.

Change 727462 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/VisualEditor@master] Don't reset narrow screen mode when it's already active

https://gerrit.wikimedia.org/r/727462

I can reproduce it on my desktop machine.

  • Switch to the mobile skin.
  • Edit a template.
  • Make the window so small that the dialog collapses and shows only one side.
  • Go to the sidebar.
  • Click a search field.
  • Now move your mouse to the bottom of the window and change the window's height. The sidebar closes.

The same happens when you change the window's width, e.g. make it a little bit smaller. This should not make a difference the same way as changing the height should not make a difference.

Change 727320 abandoned by WMDE-Fisch:

[mediawiki/extensions/VisualEditor@master] Only trigger sidebar recalculation when width changes

Reason:

Fixing autoExpand really seems to be the better option. :-)

https://gerrit.wikimedia.org/r/727320

Change 727462 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Don't reset narrow screen mode when it's already active

https://gerrit.wikimedia.org/r/727462