diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index d257e9a3de53..617fa7d60a35 100644 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -301,6 +301,7 @@ class ReportActionCompose extends React.Component { } onSelectionChange(e) { + LayoutAnimation.configureNext(LayoutAnimation.create(50, LayoutAnimation.Types.easeInEaseOut, LayoutAnimation.Properties.opacity)); this.setState({selection: e.nativeEvent.selection}); this.calculateEmojiSuggestion(); this.calculateMentionSuggestion(); @@ -511,8 +512,6 @@ class ReportActionCompose extends React.Component { nextState.shouldShowEmojiSuggestionMenu = !_.isEmpty(newSuggestedEmojis); } - LayoutAnimation.configureNext(LayoutAnimation.create(50, LayoutAnimation.Types.easeInEaseOut, LayoutAnimation.Properties.opacity)); - this.setState(nextState); }