From fd54544b84cc0f13f57dc481ccb11d3183de79c8 Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Tue, 11 May 2021 11:46:20 -0700 Subject: Fixed issue with mentions not collapsing when deleting '@' too quickly --- src/components/comments/AddComment.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components/comments/AddComment.tsx') diff --git a/src/components/comments/AddComment.tsx b/src/components/comments/AddComment.tsx index 9cf10b5e..28e1a40e 100644 --- a/src/components/comments/AddComment.tsx +++ b/src/components/comments/AddComment.tsx @@ -20,6 +20,7 @@ import {CommentThreadType, CommentType} from '../../types'; import {SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; import {mentionPartTypes} from '../../utils/comments'; import {Avatar} from '../common'; +import {MentionInputControlled} from './MentionInputControlled'; export interface AddCommentProps { momentId: string; @@ -112,7 +113,7 @@ const AddComment: React.FC = ({momentId, placeholderText}) => { ]}> -