diff --git a/CHANGELOG.md b/CHANGELOG.md index c826a88ccc..d75ddc1354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ - Extract build archive into a folder for OSD integration test CI ([#1075](https://github.com/opensearch-project/oui/pull/1075)) - Correct file path for import of Query component ([#1069](https://github.com/opensearch-project/oui/pull/1069)) - Fix "Guidelines" documentation links rendering blank pages ([#1111](https://github.com/opensearch-project/oui/pull/1111)) +- Fix bug in OuiButtonContent for showing info tooltip in icon-only buttons when hovered([#1160](https://github.com/opensearch-project/oui/pull/1160)) - Fix playground support check ([#1162](https://github.com/opensearch-project/oui/pull/1162)) ### 🚞 Infrastructure diff --git a/src/components/button/button_content.tsx b/src/components/button/button_content.tsx index 3c260aeb47..a4a5bb8a7f 100644 --- a/src/components/button/button_content.tsx +++ b/src/components/button/button_content.tsx @@ -96,6 +96,7 @@ export const OuiButtonContent: FunctionComponent< className="ouiButtonContent__icon" type={iconType} size={iconSize} + title={textProps?.title} color="inherit" // forces the icon to inherit its parent color /> );