diff --git a/lib/ios/reactnativeuilib/keyboardtrackingview/ObservingInputAccessoryViewTemp.m b/lib/ios/reactnativeuilib/keyboardtrackingview/ObservingInputAccessoryViewTemp.m index 1ca52e8012..d759e0e89c 100644 --- a/lib/ios/reactnativeuilib/keyboardtrackingview/ObservingInputAccessoryViewTemp.m +++ b/lib/ios/reactnativeuilib/keyboardtrackingview/ObservingInputAccessoryViewTemp.m @@ -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 diff --git a/lib/package.json b/lib/package.json index f37467b9fd..1903983f61 100644 --- a/lib/package.json +++ b/lib/package.json @@ -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",