Skip to content

Commit

Permalink
fix regression related to #32
Browse files Browse the repository at this point in the history
  • Loading branch information
cjpearson authored Sep 9, 2016
1 parent 5583647 commit 44e3ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/CDVKeyboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ - (void)pluginInitialize
object:nil
queue:[NSOperationQueue mainQueue]
usingBlock:^(NSNotification* notification) {
[weakSelf shrinkViewKeyboardWillChangeFrame:notification];
[weakSelf performSelector:@selector(shrinkViewKeyboardWillChangeFrame:) withObject:notification afterDelay:0];
CGRect screen = [[UIScreen mainScreen] bounds];
CGRect keyboard = ((NSValue*)notification.userInfo[@"UIKeyboardFrameEndUserInfoKey"]).CGRectValue;
CGRect intersection = CGRectIntersection(screen, keyboard);
Expand Down

0 comments on commit 44e3ef9

Please sign in to comment.