secullum-react-native-ui 4.15.1-beta.3 → 4.15.1-beta.4
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.
|
@@ -154,6 +154,7 @@ class DropDown extends React.Component {
|
|
|
154
154
|
return null;
|
|
155
155
|
};
|
|
156
156
|
this.getStyles = () => {
|
|
157
|
+
var _a;
|
|
157
158
|
const theme = (0, theme_1.getTheme)();
|
|
158
159
|
const { icon, arrowColor } = this.props;
|
|
159
160
|
const styles = react_native_1.StyleSheet.create({
|
|
@@ -201,7 +202,10 @@ class DropDown extends React.Component {
|
|
|
201
202
|
modalOverlay: {
|
|
202
203
|
justifyContent: this.shouldDisplaySearchField()
|
|
203
204
|
? 'flex-start'
|
|
204
|
-
: 'center'
|
|
205
|
+
: 'center',
|
|
206
|
+
paddingTop: this.shouldDisplaySearchField()
|
|
207
|
+
? (react_native_1.Platform.OS === 'ios' ? 44 : (_a = react_native_1.StatusBar.currentHeight) !== null && _a !== void 0 ? _a : 0)
|
|
208
|
+
: 0
|
|
205
209
|
},
|
|
206
210
|
modalContainer: {
|
|
207
211
|
maxHeight: '95%',
|