Skip to content

Conversation

@Jesse205
Copy link
Contributor

@Jesse205 Jesse205 commented Jun 12, 2025

Fixed the bug that when the appear attribute of Fade and Slide was false, the animation would still be played when the component was mounted for the first time

I also fixed a bug where Drawer would play animations when it was first mounted.

In MUI, the slidingDrawer is loaded and then added to the RootSlot, but not in Solidjs, where you need to wait for the child component to call children before the component can be mounted.(Or I don't know any other way.) So I give setMounted(true); requestAnimationFrame has been added so that it is 'mounted' after the child component is mounted.

@Jesse205 Jesse205 force-pushed the fix/transition-appear branch from 124019e to 94cacba Compare June 23, 2025 19:04
@Jesse205 Jesse205 force-pushed the fix/transition-appear branch from 94cacba to a3b97f6 Compare June 23, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant