diff options
author | bobzel <zzzman@gmail.com> | 2022-08-09 19:50:33 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-08-09 19:50:33 -0400 |
commit | a63f017c213563728f45f2caa7415843f50f3559 (patch) | |
tree | 505be8c2b94f90fa5fa8f204e0db64cb0f6dc1c9 /src/client/views/DocumentButtonBar.tsx | |
parent | 0e8afc8e90efdf8037aa233a496e7d7bec75d908 (diff) |
fixed click on menu button for text box with hyperlink to not bring up buttonBar. fixed right click on hyperlink to just bring up button bar, but not native context menu. fixe stacking view child pointer events so that sidebar documents in lightbox are editable.
Diffstat (limited to 'src/client/views/DocumentButtonBar.tsx')
-rw-r--r-- | src/client/views/DocumentButtonBar.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/client/views/DocumentButtonBar.tsx b/src/client/views/DocumentButtonBar.tsx index 81e417fca..1f8550ad6 100644 --- a/src/client/views/DocumentButtonBar.tsx +++ b/src/client/views/DocumentButtonBar.tsx @@ -274,12 +274,7 @@ export class DocumentButtonBar extends React.Component<{ views: () => (DocumentV get menuButton() { const targetDoc = this.view0?.props.Document; return !targetDoc ? null : ( - <Tooltip - title={ - <> - <div className="dash-tooltip">{`Open Context Menu`}</div> - </> - }> + <Tooltip title={<div className="dash-tooltip">{`Open Context Menu`}</div>}> <div className="documentButtonBar-icon" style={{ color: 'white', cursor: 'pointer' }} onClick={e => this.openContextMenu(e)}> <FontAwesomeIcon className="documentdecorations-icon" icon="bars" /> </div> |