@abihealth/goapp-react-native 1.13.21 → 1.13.22
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,7 +167,7 @@ var Reminder = function (_a) {
|
|
|
167
167
|
};
|
|
168
168
|
var onKeyboardChange = function (e) {
|
|
169
169
|
var _a;
|
|
170
|
-
var tabBarHeight =
|
|
170
|
+
var tabBarHeight = 28; // TODO remove hardcoded value when not in dev
|
|
171
171
|
if (platform_1.isIOS)
|
|
172
172
|
setKeyboardHeight(((_a = e === null || e === void 0 ? void 0 : e.endCoordinates) === null || _a === void 0 ? void 0 : _a.height) - tabBarHeight);
|
|
173
173
|
};
|
|
@@ -185,13 +185,11 @@ var Reminder = function (_a) {
|
|
|
185
185
|
{showInput && submitStatus === 'present' && (<react_native_1.TouchableOpacity activeOpacity={0.6} onPress={function () { return setShowInput(false); }} style={[
|
|
186
186
|
styles.bgContainer,
|
|
187
187
|
{
|
|
188
|
-
bottom: containerHeight + keyboardHeight
|
|
189
|
-
borderWidth: 2,
|
|
190
|
-
borderColor: 'blue'
|
|
188
|
+
bottom: containerHeight + keyboardHeight
|
|
191
189
|
}
|
|
192
190
|
]}/>)}
|
|
193
191
|
|
|
194
|
-
{slide && (<ActionSheet_1.ActionSheet style={
|
|
192
|
+
{slide && (<ActionSheet_1.ActionSheet style={{ bottom: keyboardHeight }} onLayout={function (_a) {
|
|
195
193
|
var nativeEvent = _a.nativeEvent;
|
|
196
194
|
return setContainerHeight(nativeEvent.layout.height);
|
|
197
195
|
}} height={containerHeight || 93} // Initially 93
|