Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Collapsible] Opacity starting style not working #1334

Open
benface opened this issue Jan 14, 2025 · 0 comments
Open

[Collapsible] Opacity starting style not working #1334

benface opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
component: collapsible This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@benface
Copy link

benface commented Jan 14, 2025

Bug report

Current behavior

The following Tailwind classes in Collapsible.Panel lead to a fade out transition when the panel closes, but no fade in transition when it opens:

transition data-[starting-style]:opacity-0 data-[ending-style]:opacity-0

Expected behavior

There should be a fade in transition when the panel opens.

Reproducible example

https://codesandbox.io/p/sandbox/winter-cdn-vxmxzn

Base UI version

1.0.0-alpha.5

Which browser are you using?

Reproduced in Chrome, Firefox, and Safari

Which OS are you using?

macOS

Which assistive tech are you using (if applicable)?

None

Additional context

Thank you! 🙏

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 14, 2025
@mj12albert mj12albert self-assigned this Jan 15, 2025
@mj12albert mj12albert added the component: collapsible This is the name of the generic UI component, not the React module! label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: collapsible This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants