Skip to content

Commit 53ac2ca

Browse files
author
Dan Carbonell
committed
delete input text on editing close
1 parent 18e42a1 commit 53ac2ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/MessageInput/MessageInput.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ const MessageInput = (props) => {
785785
icon={iconClose}
786786
onPress={() => {
787787
clearEditingState();
788+
setText('');
788789
}}
789790
/>
790791
</EditingBoxHeader>

0 commit comments

Comments
 (0)