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 · 1 comment
Open

[Collapsible] Opacity starting style not working #1334

benface opened this issue Jan 14, 2025 · 1 comment
Assignees
Labels
bug 🐛 Something doesn't work component: collapsible This is the name of the generic UI component, not the React module!

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 component: collapsible This is the name of the generic UI component, not the React module! bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 15, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Base UI Jan 20, 2025
@mj12albert mj12albert moved this from Backlog to In progress in Base UI Jan 20, 2025
@mj12albert
Copy link
Member

Thanks for reporting @benface it is indeed a bug 😪 , working on it ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: collapsible This is the name of the generic UI component, not the React module!
Projects
Status: In progress
Development

No branches or pull requests

2 participants