DescriptionOverscroll for keyboard disabled while keyboard is hiding.
While the keyboard is in the process of hiding, the proxy's visibility
flag may not be updated yet. Use the private keyboard_visible_ flag
instead as it stores the future visibility of the keyboard window after
animation is completed.
BUG=401670
TEST=Updated:
KeyboardControllerTest.CheckOverscrollInsetDuringVisibilityChange
On device:
As the inset update must be initiated after the animation is
started and before it is finished. Tested on clapper with the
same method as in the bug, i.e. switch tab after hiding
keyboard to trigger fast inset update.
Committed: https://crrev.com/7975dd824d83890224e342a8e401a7566e68a3eb
Cr-Commit-Position: refs/heads/master@{#295530}
Patch Set 1 #Patch Set 2 : Add unittest. #Patch Set 3 : Add separate unit test. #Patch Set 4 : #
Total comments: 2
Patch Set 5 : ) #
Messages
Total messages: 16 (3 generated)
|