diff --git a/services/web/frontend/js/features/review-panel-new/components/review-panel-entry.tsx b/services/web/frontend/js/features/review-panel-new/components/review-panel-entry.tsx index ccd2731ea4..c4196eca33 100644 --- a/services/web/frontend/js/features/review-panel-new/components/review-panel-entry.tsx +++ b/services/web/frontend/js/features/review-panel-new/components/review-panel-entry.tsx @@ -70,7 +70,9 @@ export const ReviewPanelEntry: FC<{ useEffect(() => { return () => { if (hoverRanges) { - view.dispatch(clearHighlightRanges(op)) + setTimeout(() => { + view.dispatch(clearHighlightRanges(op)) + }) } } }, []) // eslint-disable-line react-hooks/exhaustive-deps