From 9d62c620fdd9ba585086f63d63acb056dca980ed Mon Sep 17 00:00:00 2001 From: David <33458145+davidmcpowell@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:06:45 +0000 Subject: [PATCH] Merge pull request #21410 from overleaf/dp-mini-panel-click Prevent clicking on mini review panel entry popovers from opening the full panel GitOrigin-RevId: a81ed154307750a756931d9fe5e893cd30d40c55 --- .../components/review-panel-change.tsx | 11 +++------ .../components/review-panel-comment.tsx | 11 +++------ .../components/review-panel-entry.tsx | 23 ++++++++++++++++++- 3 files changed, 28 insertions(+), 17 deletions(-) diff --git a/services/web/frontend/js/features/review-panel-new/components/review-panel-change.tsx b/services/web/frontend/js/features/review-panel-new/components/review-panel-change.tsx index d72f537f2c..c5807dc4c5 100644 --- a/services/web/frontend/js/features/review-panel-new/components/review-panel-change.tsx +++ b/services/web/frontend/js/features/review-panel-new/components/review-panel-change.tsx @@ -92,15 +92,10 @@ export const ReviewPanelChange = memo<{ docId={docId} hoverRanges={hoverRanges} disabled={accepting} + onEnterEntryIndicator={onEnter} + onLeaveEntryIndicator={onLeave} + entryIndicator="edit" > -