Skip to content

Commit

Permalink
Switch iOS keyboard type if required (flutter#3400)
Browse files Browse the repository at this point in the history
Ensure that the text input keyboard is reloaded if the view keyboardType
changes.
  • Loading branch information
cbracken authored Feb 8, 2017
1 parent 9053b6c commit 4baeae8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ - (void)hideTextInput {
- (void)setTextInputClient:(int)client withConfiguration:(NSDictionary*)configuration {
_view.keyboardType = ToUIKeyboardType(configuration[@"inputType"]);
[_view setTextInputClient:client];
[_view reloadInputViews];
}

- (void)setTextInputEditingState:(NSDictionary*)state {
Expand Down

0 comments on commit 4baeae8

Please sign in to comment.