diff --git a/packages/web/components/templates/article/HighlightsLayer.tsx b/packages/web/components/templates/article/HighlightsLayer.tsx index 8c76a5055..032b0838e 100644 --- a/packages/web/components/templates/article/HighlightsLayer.tsx +++ b/packages/web/components/templates/article/HighlightsLayer.tsx @@ -539,6 +539,10 @@ export function HighlightsLayer(props: HighlightsLayerProps): JSX.Element { } } + useEffect(() => { + setFocusedHighlight(undefined) + }, [selectionData]) + const dispatchHighlightMessage = (actionID: string) => { if (props.isAppleAppEmbed) { window?.webkit?.messageHandlers.highlightAction?.postMessage({