Skip to content

Commit 757d2e0

Browse files
committed
Disable ActionButton tooltips
Disabled Tooltip for ActionButton components to prevent problems with hide, when root is removed.
1 parent b334219 commit 757d2e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/resources/assets/admin/common/js/ui2/ActionButton.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as UI from '@enonic/ui';
2-
import {unwrap} from '@enonic/ui';
32
import {render} from 'react-dom';
43
import {BrowserHelper} from '../BrowserHelper';
54
import {Action} from '../ui/Action';
@@ -63,9 +62,9 @@ export class ActionButton<T extends Action = Action> extends LegacyElement<typeo
6362

6463
render(
6564
<UI.IdProvider prefix={this.getPrefix()}>
66-
<UI.Tooltip value={unwrap(props.title)}>
65+
{/* <UI.Tooltip value={unwrap(props.title)}> */}
6766
<ActionButtonComponent {...props} />
68-
</UI.Tooltip>
67+
{/* </UI.Tooltip> */}
6968
</UI.IdProvider>,
7069
this.getHTMLElement()
7170
);

0 commit comments

Comments
 (0)