Skip to content

fix(root-layout): Use isNumber to check for translate and scale values #10288

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

Merged
merged 2 commits into from
May 11, 2023

Conversation

shiv19
Copy link
Member

@shiv19 shiv19 commented May 11, 2023

PR Checklist

What is the current behavior?

When animating shadeCover for root layout, the exit animation doesn't work if translate or scale values are 0.

What is the new behavior?

The exit animations work as intended when the translate or scale values are 0.

Fixes/Implements/Closes #10289.

@nx-cloud
Copy link

nx-cloud bot commented May 11, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 39efa10. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@cla-bot cla-bot bot added the cla: yes label May 11, 2023
@shiv19 shiv19 requested a review from NathanWalker May 11, 2023 01:44
@NathanWalker NathanWalker merged commit 874f6b6 into main May 11, 2023
@NathanWalker NathanWalker deleted the shiv19-patch-1 branch May 11, 2023 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RootLayout exitAnimations don't work when translate or scale values are set to 0
2 participants