aboutsummaryrefslogtreecommitdiff
path: root/src/components/comments/MentionInputControlled.tsx
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-06-12 03:37:38 +0900
committerBrian Kim <brian@tagg.id>2021-06-12 03:37:38 +0900
commit52ff7abbc60fc1eef1f8d67372de855ab09069a9 (patch)
treee0fdef98409040e64574b6910d9cc0fd1abc27b5 /src/components/comments/MentionInputControlled.tsx
parent98b11aebbc99ade873b7c8681ac38d6e0e72332c (diff)
Add grey background
Diffstat (limited to 'src/components/comments/MentionInputControlled.tsx')
-rw-r--r--src/components/comments/MentionInputControlled.tsx10
1 files changed, 10 insertions, 0 deletions
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};