Skip to content

Commit

Permalink
TextInput - keyboardType="number-pad" with external keyboard (#2978)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-i-k-e-l authored Mar 13, 2024
1 parent 479ee0b commit 9415434
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ - (void)_keyboardDidShowNotification:(NSNotification*)notification
{
_keyboardState = KeyboardStateShown;

[self invalidateIntrinsicContentSize];
if (_keyboardHeight > 0) { //prevent triggering observeValueForKeyPath if an external keyboard is in use
[self invalidateIntrinsicContentSize];
}
}

- (void)_keyboardWillHideNotification:(NSNotification*)notification
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uilib-native",
"version": "4.1.2",
"version": "4.1.3",
"homepage": "https://github.com/wix/react-native-ui-lib",
"description": "uilib native components (separated from js components)",
"main": "components/index.js",
Expand Down

0 comments on commit 9415434

Please sign in to comment.