Bug 1019360 - [v1.4] Keyboard will not work if do as follow before
keyboard shows completely.
Merge pull request #22510 from RudyLu/keyboard/Bug1019360

Bug 1019360 - [v1.4] Keyboard will not work if do as follow before keyboard.
r=timdream.