aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/comments')
-rw-r--r--src/components/comments/AddComment.tsx2
-rw-r--r--src/components/comments/MentionInputControlled.tsx10
2 files changed, 12 insertions, 0 deletions
diff --git a/src/components/comments/AddComment.tsx b/src/components/comments/AddComment.tsx
index c48ce627..c17fdd93 100644
--- a/src/components/comments/AddComment.tsx
+++ b/src/components/comments/AddComment.tsx
@@ -137,6 +137,8 @@ const styles = StyleSheet.create({
alignItems: 'center',
justifyContent: 'center',
width: SCREEN_WIDTH,
+ // paddingTop: 10,
+ // marginTop: 10,
},
textContainer: {
width: '95%',
diff --git a/src/components/comments/MentionInputControlled.tsx b/src/components/comments/MentionInputControlled.tsx
index c52f3286..a3229bb0 100644
--- a/src/components/comments/MentionInputControlled.tsx
+++ b/src/components/comments/MentionInputControlled.tsx
@@ -27,6 +27,7 @@ import {Avatar} from '../common';
import {normalize} from 'react-native-elements';
import UpArrowIcon from '../../assets/icons/up_arrow.svg';
+import {SCREEN_WIDTH, SCREEN_HEIGHT} from '../../utils';
const MentionInputControlled: FC<MentionInputProps> = ({
value,
@@ -246,6 +247,15 @@ const styles = StyleSheet.create({
alignSelf: 'flex-end',
},
text: {flex: 1},
+ overlay: {
+ width: SCREEN_WIDTH,
+ height: SCREEN_HEIGHT,
+ backgroundColor: 'blue',
+ position: 'absolute',
+ left: 0,
+ bottom: 0,
+ zIndex: -1,
+ },
});
export {MentionInputControlled};