@abihealth/goapp-react-native 1.13.13 → 1.13.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -167,9 +167,9 @@ var Reminder = function (_a) {
|
|
|
167
167
|
};
|
|
168
168
|
var onKeyboardChange = function (e) {
|
|
169
169
|
var _a;
|
|
170
|
-
var tabBarHeight =
|
|
170
|
+
var tabBarHeight = 23; // TODO remove hardcoded value when not in dev
|
|
171
171
|
if (platform_1.isIOS)
|
|
172
|
-
setKeyboardHeight(((_a = e === null || e === void 0 ? void 0 : e.endCoordinates) === null || _a === void 0 ? void 0 : _a.height)
|
|
172
|
+
setKeyboardHeight(((_a = e === null || e === void 0 ? void 0 : e.endCoordinates) === null || _a === void 0 ? void 0 : _a.height) - tabBarHeight);
|
|
173
173
|
};
|
|
174
174
|
(0, react_1.useEffect)(function () {
|
|
175
175
|
react_native_1.Keyboard.addListener('keyboardDidShow', onKeyboardChange);
|