Skip to content

Commit 9ecd8a2

Browse files
committed
Fix sheet height
1 parent dcc5d3b commit 9ecd8a2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

packages/core/src/js/feedback/FeedbackForm.styles.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,15 @@ const defaultStyles: FeedbackFormStyles = {
8080
modalBackground: {
8181
flex: 1,
8282
justifyContent: 'flex-end',
83-
backgroundColor: 'rgba(0, 0, 0, 0.8)',
83+
backgroundColor: 'rgba(0, 0, 0, 0.9)',
8484
},
8585
modalSheetContainer: {
8686
backgroundColor: BACKROUND_COLOR,
8787
borderTopLeftRadius: 16,
8888
borderTopRightRadius: 16,
8989
padding: 16,
90-
marginBottom: -32,
9190
alignSelf: 'stretch',
92-
height: '100%',
91+
height: '92%',
9392
shadowColor: '#000',
9493
shadowOffset: { width: 0, height: -3 },
9594
shadowOpacity: 0.1,

packages/core/src/js/feedback/FeedbackFormManager.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { logger } from '@sentry/core';
22
import * as React from 'react';
3-
import { Modal, SafeAreaView, View } from 'react-native';
3+
import { Modal, View } from 'react-native';
44

55
import { FeedbackForm } from './FeedbackForm';
66
import defaultStyles from './FeedbackForm.styles';
@@ -70,14 +70,14 @@ class FeedbackFormProvider extends React.Component<FeedbackFormProviderProps> {
7070
{isVisible && (
7171
<View>
7272
<Modal visible={isVisible} transparent animationType="slide" onRequestClose={this._handleClose} testID="feedback-form-modal">
73-
<SafeAreaView style={styles.modalBackground}>
73+
<View style={styles.modalBackground}>
7474
<View style={styles.modalSheetContainer}>
7575
<FeedbackForm {...getFeedbackOptions()}
7676
onFormClose={this._handleClose}
7777
onFormSubmitted={this._handleClose}
7878
/>
7979
</View>
80-
</SafeAreaView>
80+
</View>
8181
</Modal>
8282
</View>
8383
)}

0 commit comments

Comments
 (0)