Description
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
For example: v1.7.11
What browser are you using?
Chrome
Reproduction URL
Working example: https://stackblitz.com/edit/vitejs-vite-fpxdgf?file=package.json
Broken example: https://stackblitz.com/edit/vitejs-vite-ldjlty?file=package.json
The only difference between the two are @headlessui/react versions.
Describe your issue
We have a unique use case where we want to display a modal on top of the main app section while allowing our sidebar sections to be interactive. In fact this was one of the main reasons we even opted to use headlessui in the first place since it would allow for these customizations.
#2290 has broken that assumption since it marks the root element inert
, which is not what we want.
1.7.11 DOM

1.7.12 DOM

I realize this probably isn't the most common use case, but I need a way to opt out. Could this be fine tuned via a prop?