Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/small-trees-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@patternfly/elements": patch
---

`<pf-tooltip>`: hide content when copy/pasting tooltip elements
2 changes: 1 addition & 1 deletion elements/pf-tooltip/pf-tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export class PfTooltip extends LitElement {
aria-labelledby="tooltip">
<slot id="invoker" @slotchange="${this.#invokerChanged}"></slot>
</div>
<div aria-hidden="${String(!open) as 'true' | 'false'}">
<div ?inert="${!open}">
<slot id="tooltip" name="content">${this.content}</slot>
</div>
</div>
Expand Down
Loading