Skip to content

When using Dialog example with backdrop and transitions from v1.x, the overlay renders on top of the modal #3741

@miachenmtl

Description

@miachenmtl

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v2.2.4

What browser are you using?

Chrome

Reproduction URL

https://codesandbox.io/p/devbox/jcxjgx

Describe your issue

We were using a Dialog component based on the examples from v1.7. As of v2.2.0, it was displaying properly. With the update to 2.2.4, the overlay appears over the dialog instead of as a backdrop. (Codesandbox based on v1.7 docs example.)

Maybe related to this PR? #3696

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions