Describe your issue
After updating to 2.1.1 (to take advantage of the cool new transition features, thanks!), noticed dialogs using Transition and TransitionChild no longer lock scrolling.
In the CodeSandbox link above using 2.1.1, the background can still be scrolled when the dialog is open.
If you downgrade to 2.0.4 in the sandbox , the background cannot be scrolled.
This issue seems to have something to do with TransitionChild - I could not recreate it solely using Transition (but not checked too thoroughly).
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
2.1.1
What browser are you using?
N/A
Reproduction URL https://codesandbox.io/p/sandbox/silly-dust-mzj4cc
Describe your issue After updating to 2.1.1 (to take advantage of the cool new transition features, thanks!), noticed dialogs using
Transition
andTransitionChild
no longer lock scrolling.2.1.1
, the background can still be scrolled when the dialog is open.2.0.4
in the sandbox , the background cannot be scrolled.This issue seems to have something to do with
TransitionChild
- I could not recreate it solely usingTransition
(but not checked too thoroughly).