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')} description={t('view_options')}
overlayProps={{ placement: 'bottom' }} overlayProps={{ placement: 'bottom' }}
> >
<span> <OLButton
<OLButton variant="ghost"
variant="ghost" className="pdf-toolbar-btn pdfjs-toolbar-popover-button"
className="pdf-toolbar-btn pdfjs-toolbar-popover-button" onClick={togglePopover}
onClick={togglePopover} ref={targetRef}
ref={targetRef} >
> <MaterialIcon type="more_horiz" />
<MaterialIcon type="more_horiz" /> </OLButton>
</OLButton>
</span>
</OLTooltip> </OLTooltip>
<OLOverlay <OLOverlay