Hide tooltip on click in PDF controls menu (#21546)

GitOrigin-RevId: cfaebb7a55d2a80814c0e326b54f84f2e76a8879
This commit is contained in:
Domagoj Kriskovic 2024-11-04 13:16:49 +01:00 committed by Copybot
parent 684731638a
commit 21464f200e

View file

@ -40,16 +40,14 @@ export default function PdfViewerControlsMenuButton({
description={t('view_options')}
overlayProps={{ placement: 'bottom' }}
>
<span>
<OLButton
variant="ghost"
className="pdf-toolbar-btn pdfjs-toolbar-popover-button"
onClick={togglePopover}
ref={targetRef}
>
<MaterialIcon type="more_horiz" />
</OLButton>
</span>
<OLButton
variant="ghost"
className="pdf-toolbar-btn pdfjs-toolbar-popover-button"
onClick={togglePopover}
ref={targetRef}
>
<MaterialIcon type="more_horiz" />
</OLButton>
</OLTooltip>
<OLOverlay