diff --git a/CHANGELOG.md b/CHANGELOG.md index bcc2d7355cc..2d96f41b7a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - Fixed `EuiTabs` `role` if no tabs are passed in ([#4435](https://github.com/elastic/eui/pull/4435)) - Fixed `EuiPopover` with initial `isOpen` working with `EuiOutsideClickDetector` ([#4461](https://github.com/elastic/eui/pull/4461)) - Fixed `EuiDataGridCellPopover` needing 2 state updates to close ([#4461](https://github.com/elastic/eui/pull/4461)) +- Fixed `EuiBadge` with `iconOnClick` from catching form submit events ([#4479](https://github.com/elastic/eui/pull/4479)) ## [`31.4.0`](https://github.com/elastic/eui/tree/v31.4.0) diff --git a/src/components/badge/badge.tsx b/src/components/badge/badge.tsx index 957c8dd3d3d..3e74bfb1b6b 100644 --- a/src/components/badge/badge.tsx +++ b/src/components/badge/badge.tsx @@ -249,6 +249,7 @@ export const EuiBadge: FunctionComponent = ({ } optionalIcon = (