Closed ashleyryan closed 2 years ago
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.
Describe the bug
For CdsDropdown (and signpost and responsive dropdown), the onCloseChange callback is not called when the overlay outside of the dropdown is clicked.
How to reproduce
https://stackblitz.com/edit/clarity-react-demo-ujuhus?file=src%2FApp.tsx
Steps to reproduce the behavior:
Expected behavior
The dropdown should close like the web component does: https://stackblitz.com/edit/clarity-typescript-demo-m6anoy?file=src%2Findex.ts,src%2Findex.html
Versions
Clarity project:
Clarity version:
Framework: