Skip to content

Commit

Permalink
fix(panel): Add native tooltip to close button. (#7434)
Browse files Browse the repository at this point in the history
**Related Issue:** N/A

## Summary

fix(panel): Add native tooltip to close button.

- Modal uses a native tooltip for its close button
- Using a calcite-tooltip would be too much visual noise
  • Loading branch information
driskull authored Aug 4, 2023
1 parent db7eac7 commit 70b45cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/calcite-components/src/components/panel/panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ export class Panel
icon={ICONS.close}
onClick={close}
text={text}
title={text}
// eslint-disable-next-line react/jsx-sort-props
ref={this.setCloseRef}
/>
Expand Down

0 comments on commit 70b45cf

Please sign in to comment.