[React][DatePicker] DatePicker content doesn't close onClick outside
Trufflesmld opened this issue · comments
Trufflesmld commented
Description
When properties lazyMount and unmountOnExit set to true, datePicker content doesn't close onClick outside.
There is this warn in the console
Link to Reproduction (or Detailed Explanation)
Steps to Reproduce
1.Set props lazyMount, unmountOnExit to true.
2.Open date picker content with trigger
a warning appears in the console
3.Click outside the content block (content does not close)
Expected behavior - when click outside the content block, he closes
Ark UI Version
2.2.2
Framework
- React
- Solid
- Vue
Browser
Chrome
Additional Information
No response
Christian Schröter commented
Thanks for taking your time. The issue will be resolved with the next update chakra-ui/zag@ffda06f