Scroll to viewport after input methods list is rendered
Added input methods may increase the height of window. Make sure the entire window is in view port. Bug: 49427 Change-Id: I06194b7d51459a31247104b2113ef3212774f004
This commit is contained in:
committed by
Gerrit Code Review
parent
ddd425eb9b
commit
43be2f274c
@@ -158,6 +158,10 @@
|
||||
|
||||
$imeListContainer.append( inputSettings.renderInputmethodOption( 'system',
|
||||
defaultInputmethod === 'system' ) );
|
||||
|
||||
// Added input methods may increase the height of window. Make sure
|
||||
// the entire window is in view port
|
||||
this.$parent.position();
|
||||
},
|
||||
|
||||
renderInputmethodOption: function ( imeId, selected ) {
|
||||
|
||||
Reference in New Issue
Block a user