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:
Santhosh Thottingal
2013-06-12 09:45:51 +05:30
committed by Gerrit Code Review
parent ddd425eb9b
commit 43be2f274c

View File

@@ -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 ) {