You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using MUI daterange picker on a button within a HeadlessUI modal, once opened, I cannot close the daterange picker.
Weirdly, it's working if the daterange is bound to and input.
If I replace the Dialog.Panel with a div in my Modal, the component is working again. By looking at the code of Dialog.Panel, it seems that events are not bubbled through the react tree
The text was updated successfully, but these errors were encountered:
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
1.7.17
Reproduction URL
https://codesandbox.io/p/sandbox/headless-ui-x-daterangepicker-c7zgr8
Screenshot-202402-20.at.17.20.22.mp4
Describe your issue
When using MUI daterange picker on a button within a HeadlessUI modal, once opened, I cannot close the daterange picker.
Weirdly, it's working if the daterange is bound to and input.
If I replace the
Dialog.Panel
with adiv
in my Modal, the component is working again. By looking at the code ofDialog.Panel
, it seems that events are not bubbled through the react treeThe text was updated successfully, but these errors were encountered: