Skip to content

Commit

Permalink
Handle keyboard weirdness (tipsi#408 (comment))
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Johnson committed Jul 29, 2019
1 parent c11b145 commit 6082ea4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ios/TPSStripe/TPSCardField.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ - (instancetype)initWithFrame:(CGRect)frame {
_paymentCardTextField.delegate = self;
[self addSubview:_paymentCardTextField];
self.backgroundColor = [UIColor clearColor];
[[NSNotificationCenter defaultCenter]
addObserver:self
selector:@selector(keyboardWillShow:)
name:UIKeyboardWillShowNotification
object:self.window];
// [[NSNotificationCenter defaultCenter]
// addObserver:self
// selector:@selector(keyboardWillShow:)
// name:UIKeyboardWillShowNotification
// object:self.window];
}
return self;
}
Expand Down

0 comments on commit 6082ea4

Please sign in to comment.