mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Hide tooltip on click in PDF controls menu (#21546)
GitOrigin-RevId: cfaebb7a55d2a80814c0e326b54f84f2e76a8879
This commit is contained in:
parent
684731638a
commit
21464f200e
1 changed files with 8 additions and 10 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue