mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Hide widget tooltips in canvas (#324)
This commit is contained in:
parent
22e3002265
commit
5be483b3bc
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ export const Box = function Box({
|
|||
return (
|
||||
<OverlayTrigger
|
||||
placement="top"
|
||||
delay={{ show: 500, hide: 0 }}
|
||||
trigger={!inCanvas? 'hover': null}
|
||||
overlay={(props) => renderTooltip({props, text: `${component.description}`})}
|
||||
>
|
||||
<div style={{ ...styles, backgroundColor }} role={preview ? 'BoxPreview' : 'Box'}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue