gecko-dev/mobile/android/chrome
Emilio Cobos Álvarez 7d6d772dee Bug 1622894 - Don't force-focus the input when we're force-showing the virtual keyboard. r=m_kato
When you type in a textarea, and zoom to position the caret, then click, we'll
scroll all the way to the top of the textarea, via:

  IMEStateManager::OnClickInEditor -> SetIMEState -> SetInputContext -> mEditable->NotifyIME(EditableListener::NOTIFY_IME_OPEN_VKB);

Even if the keyboard was already displayed. In this case, we're not moving
focus, and panning to the start causes more issues than it fixes. Prevent
zooming to the start of the input in this case, but still do it if we get the
resize event (and thus toggle the keyboard).

Differential Revision: https://phabricator.services.mozilla.com/D67222

--HG--
extra : moz-landing-system : lando
2020-03-19 09:18:37 +00:00
..
geckoview Bug 1622894 - Don't force-focus the input when we're force-showing the virtual keyboard. r=m_kato 2020-03-19 09:18:37 +00:00
moz.build Bug 1609278 - Replace bugzilla product and component assignment 'Firefox for Android :: General' with 'GeckoView :: General'. r=kbrosnan DONTBUILD 2020-03-06 17:54:58 +00:00