Commit ee7aa642 authored by Javier Ernesto Flores Robles's avatar Javier Ernesto Flores Robles Committed by Commit Bot

[iOS][MF] Remove animation between fields

Bug: 878388
Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
Change-Id: Ic68969370562563a90159167bada0b822893ff8b
Reviewed-on: https://chromium-review.googlesource.com/1212983Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
Reviewed-by: default avatarOlivier Robin <olivierrobin@chromium.org>
Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#590345}
parent 5ca6c0c6
......@@ -182,6 +182,12 @@ CGFloat const kInputAccessoryHeight = 44.0f;
}
- (void)keyboardWillOrDidChangeFrame:(NSNotification*)notification {
// Work Around. On focus event, keyboardReplacementView is animated but the
// keyboard isn't. Cancel the animation to match the keyboard behavior
if (!IsIPadIdiom()) {
[self.keyboardReplacementView.layer removeAllAnimations];
}
CGRect keyboardFrame =
[notification.userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue];
UIView* keyboardView = [self getKeyboardView];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment