diff --git a/addons/mail/static/src/core/common/search_messages_panel.js b/addons/mail/static/src/core/common/search_messages_panel.js index f46745bfc51..1f4ade3f214 100644 --- a/addons/mail/static/src/core/common/search_messages_panel.js +++ b/addons/mail/static/src/core/common/search_messages_panel.js @@ -25,7 +25,6 @@ export class SearchMessagesPanel extends Component { static template = "mail.SearchMessagesPanel"; setup() { - useAutofocus(); this.state = useState({ searchTerm: "", searchedTerm: "" }); this.messageSearch = useMessageSearch(this.props.thread); useAutofocus();