diff --git a/app/editor/components/SuggestionsMenu.tsx b/app/editor/components/SuggestionsMenu.tsx index 8de1d6e4ff..7fc45cdb61 100644 --- a/app/editor/components/SuggestionsMenu.tsx +++ b/app/editor/components/SuggestionsMenu.tsx @@ -199,7 +199,8 @@ function SuggestionsMenu(props: Props) { const handleClearSearch = React.useCallback(() => { const { state, dispatch } = view; - const selection = selectionRef.current ?? state.selection; + const selection = + isMobile && selectionRef.current ? selectionRef.current : state.selection; const poss = state.doc.cut( selection.from - (props.search ?? "").length - props.trigger.length, selection.from