-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 exit animation of notices #18182
Conversation
@osullivanchris I based the current implementation on the animation you shared here. However, I didn't apply all the exact properties cause I found these were already defined before. Mainly what's different is:
Let me know what you think! |
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.
Works as described! Looks great ✨
@hassaanelgarem thanks for all the details! I was just defining in absence of existing definitions. The values you have shared sound fine. The outcome looks really good anyway, much smoother. I noticed a couple details that felt a bit clunky. They're more about transitions between steps, than the animation, so might be out of scope here.
|
@osullivanchris This indeed applies whenever "Tap site menu" step is performed. We deliberately add this delay to fix a different issue. Without this delay, or if we even decrease it a bit, the next step behaves weirdly. @momo-ozawa Can speak more about this and how easy it would be to fix it. But I'm guessing it won't be an easy fix.
It does feel off. I will create another issue to track this and will try to address this in a future PR 👍 |
Yep, as @hassaanelgarem mentioned this delay is a workaround to prevent the waypoint from flashing several times after landing on the site menu, if the Quick Start tour was triggered from the dashboard. Previously I was using .5 seconds but that wasn't enough of a delay, so I bumped it up to 1 second. The delay is necessary because we need the site menu to finish reloading before we scroll / display a waypoint on a menu item to prevent the flashing issue. Unfortunately I don't think there's a simple fix for this since it'll require us to re-work the reloading logic for the site menu. Linking this comment for more context |
@hassaanelgarem @momo-ozawa Glad if we can do something on reader, search, thanks @hassaanelgarem ! |
Fixes #18019
Description
Normal Animation Speed
Simulator.Screen.Recording.-.iPhone.13.Pro.-.2022-03-22.at.04.40.44.mp4
Slowed down Animation Speed
Simulator.Screen.Recording.-.iPhone.13.Pro.-.2022-03-22.at.04.39.26.mp4
Testing Instructions
Regression Notes
Potential unintended areas of impact
N/A
What I did to test those areas of impact (or what existing automated tests I relied on)
N/A
What automated tests I added (or what prevented me from doing so)
N/A
PR submission checklist:
RELEASE-NOTES.txt
if necessary.