base-ui icon indicating copy to clipboard operation
base-ui copied to clipboard

[Collapsible] With CSS animations there is a flash on loaded when the panel is initially open

Open mj12albert opened this issue 2 months ago • 0 comments

With animations, there is a flash when the page is loaded

https://github.com/user-attachments/assets/7a7cbde8-f34b-4158-8a3a-0ecce9c58648

Can we avoid that? I'd guess it happens because we are disabling transitions and animations when it mounts—could this be something we do in the initial render instead?

Originally posted by @vladmoroz in https://github.com/mui/base-ui/issues/889#issuecomment-2508002780

Search keywords:

mj12albert avatar Nov 30 '24 09:11 mj12albert