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

Ensure that appear works regardless of multiple rerenders #1179

Merged
merged 4 commits into from
Mar 2, 2022

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Mar 1, 2022

When a Transition happens we should only care about the appear prop and the show prop, regardless of how many times the Transition component gets re-rendered.
We already fixed the part about the multiple re-renders for the show prop (see: #1118), but we didn't take the appear prop into account.

Fixes: #1060
Fixes: #714

@vercel
Copy link

vercel bot commented Mar 1, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

headlessui-react – ./packages/playground-react

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-react/82WeV4eEXiJPe8VXd2Vzzxxxvirb
✅ Preview: https://headlessui-react-git-fix-appear-transition-tailwindlabs.vercel.app

headlessui-vue – ./packages/playground-vue

🔍 Inspect: https://vercel.com/tailwindlabs/headlessui-vue/5hWUwhtuu4gqNqnD5e6EHJT2jQ9M
✅ Preview: https://headlessui-vue-git-fix-appear-transition-tailwindlabs.vercel.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant