зеркало из https://github.com/mozilla/gecko-dev.git
7d6d772dee
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 |
||
---|---|---|
.. | ||
geckoview | ||
moz.build |