-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix(SheetRoot): Reduce transition duration to 0ms in test envs #1186
fix(SheetRoot): Reduce transition duration to 0ms in test envs #1186
Conversation
Size stats
|
Accessibility report ℹ️ You can run this locally by executing |
export const transitionDuration = process.env.NODE_ENV === 'test' ? 0 : 400; | ||
export const transitionDuration = 400; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the problem with this change is now you have a time discrepancy between css and js. This transitionDuration
is used in this file too. Can't this cause issues too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first glance it should not cause any problems in unit test environment
Deploy preview for mistica-web ready! ✅ Preview Built with commit 733a0f5. |
## [15.16.3](v15.16.2...v15.16.3) (2024-07-29) ### Bug Fixes * **SheetRoot:** Reduce transition duration to 0ms in test envs ([#1186](#1186)) ([8d1dec3](8d1dec3))
🎉 This PR is included in version 15.16.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.