Skip to content

Transition and TransitionChild do not seems to work with Dialog on latest version #3619

Closed
@SebUndefined

Description

@SebUndefined

What package within Headless UI are you using?

@headlessui/react 2.2.0
tailwindcss 3.4.17
react 18.3.1

What browser are you using?

Chrome (Brave) Version 1.74.48 Chromium: 132.0.6834.83 (Official Build) (arm64)

Reproduction URL

Code Sandbox

Describe your issue

The Transition and TransitionChild component do not seems to work properly with Dialog (Modal) on the latest version of tailwind with React. I cannot see what's wrong with the code linked maybe something is missing ? I tried with only css as describe here without luck...
We also face some issue with Drawer components as well.

We use a standard slice with redux for controlling a "GlobalModal" but even with a local state, it does not work (see example above).

Does anyone has an idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions