File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,11 @@ angular.module('mm.core', ['pascalprecht.translate'])
201201 $window . addEventListener ( 'native.keyboardshow' , function ( e ) {
202202 $mmEvents . trigger ( mmCoreEventKeyboardShow , e ) ;
203203
204+ // Resize is not triggered on iOS.
205+ if ( ionic . Platform . isIOS ( ) ) {
206+ ionic . trigger ( 'resize' ) ;
207+ }
208+
204209 if ( ionic . Platform . isIOS ( ) && document . activeElement && document . activeElement . tagName != 'BODY' ) {
205210 if ( $mmUtil . closest ( document . activeElement , 'ion-footer-bar[keyboard-attach]' ) ) {
206211 // Input element is in a footer with keyboard-attach directive, nothing to be done.
@@ -233,6 +238,11 @@ angular.module('mm.core', ['pascalprecht.translate'])
233238 } ) ;
234239 $window . addEventListener ( 'native.keyboardhide' , function ( e ) {
235240 $mmEvents . trigger ( mmCoreEventKeyboardHide , e ) ;
241+
242+ // Resize is not triggered on iOS.
243+ if ( ionic . Platform . isIOS ( ) ) {
244+ ionic . trigger ( 'resize' ) ;
245+ }
236246 } ) ;
237247 } ) ;
238248
You can’t perform that action at this time.
0 commit comments