Skip to content

Commit

Permalink
[iOS] Fabric: Fixes Numeric TextInput not triggering onSubmitEditing
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Dec 16, 2024
1 parent 2fee130 commit 56a4729
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,8 @@ - (void)setDefaultInputAccessoryView

- (void)handleInputAccessoryDoneButton
{
// Ignore the value of whether we submitted; just make sure the submit event is called if necessary.
[self textInputShouldSubmitOnReturn];
if ([self textInputShouldReturn]) {
[_backedTextInputView endEditing:YES];
}
Expand Down

0 comments on commit 56a4729

Please sign in to comment.