diff --git a/apps/readest-app/src/app/reader/components/annotator/Annotator.tsx b/apps/readest-app/src/app/reader/components/annotator/Annotator.tsx index fce1eb62..4036ca8b 100644 --- a/apps/readest-app/src/app/reader/components/annotator/Annotator.tsx +++ b/apps/readest-app/src/app/reader/components/annotator/Annotator.tsx @@ -406,11 +406,10 @@ const Annotator: React.FC<{ bookKey: string }> = ({ bookKey }) => { if (!selection || !selection.text) return; const { sectionHref: href } = progress; selection.href = href; - setShowAnnotPopup(false); - setHighlightOptionsVisible(false); + handleHighlight(true); setNotebookVisible(true); setNotebookNewAnnotation(selection); - handleHighlight(true); + handleDismissPopup(); }; const handleSearch = () => {