diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a7430b24f..3b87b49236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `multi` value support for Listbox & Combobox ([#1243](https://github.com/tailwindlabs/headlessui/pull/1243)) - Improve Combobox Input value ([#1248](https://github.com/tailwindlabs/headlessui/pull/1248)) - Fix Tree-shaking support ([#1247](https://github.com/tailwindlabs/headlessui/pull/1247)) +- Stop propagation on the Popover Button ([#1263](https://github.com/tailwindlabs/headlessui/pull/1263)) ### Added @@ -60,6 +61,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `multi` value support for Listbox & Combobox ([#1243](https://github.com/tailwindlabs/headlessui/pull/1243)) - Improve Combobox Input value ([#1248](https://github.com/tailwindlabs/headlessui/pull/1248)) - Fix Tree-shaking support ([#1247](https://github.com/tailwindlabs/headlessui/pull/1247)) +- Stop propagation on the Popover Button ([#1263](https://github.com/tailwindlabs/headlessui/pull/1263)) ### Added diff --git a/packages/@headlessui-react/src/components/popover/popover.tsx b/packages/@headlessui-react/src/components/popover/popover.tsx index 375cbd107b..67eb05dc11 100644 --- a/packages/@headlessui-react/src/components/popover/popover.tsx +++ b/packages/@headlessui-react/src/components/popover/popover.tsx @@ -461,6 +461,8 @@ let Button = forwardRefWithAs(function Button