diff --git a/services/web/frontend/js/features/review-panel-new/components/review-panel-prevent-selecting.tsx b/services/web/frontend/js/features/review-panel-new/components/review-panel-prevent-selecting.tsx index cad04048ce..30cc8a2439 100644 --- a/services/web/frontend/js/features/review-panel-new/components/review-panel-prevent-selecting.tsx +++ b/services/web/frontend/js/features/review-panel-new/components/review-panel-prevent-selecting.tsx @@ -1,5 +1,7 @@ -const stopPropagation = (e: React.FocusEvent | React.MouseEvent) => +const stopPropagation = (e: React.FocusEvent | React.MouseEvent) => { e.stopPropagation() + e.preventDefault() +} export const PreventSelectingEntry = ({ children, @@ -8,7 +10,11 @@ export const PreventSelectingEntry = ({ }) => { return ( // eslint-disable-next-line jsx-a11y/no-static-element-interactions -
+
{children}
)