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')}
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue