-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Page attachment call to action animation and design review. #20612
Page attachment call to action animation and design review. #20612
Conversation
Looks pretty cool! Do we want to restart the animation every time we visit the page containing the attachment? Playing with the demo I skipped the page, then came back and the animation was already over. Just thinking out loud, but otherwise it lgtm! |
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.
@Enriqe I think it's less visually distracting if we don't replay the animation on every page, but @hongwei1990 would be the best person to decide here.
position: absolute !important; | ||
top: 0 !important; | ||
left: 0 !important; | ||
height: 100% !important; | ||
width: 100% !important; | ||
background: #fff !important; | ||
border-radius: 32px !important; | ||
background: #FFF; |
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.
!important
?
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.
Yep :))
db1be1c
to
ccb6b73
Compare
Good point, thanks! Hong said we should play the animation every time the page becomes active, I just made the change. PTAL |
…ct#20612) * Page attachment call to action animation and design review. * Restarting the animation every time the page becomes active.
…ct#20612) * Page attachment call to action animation and design review. * Restarting the animation every time the page becomes active.
Page attachment call to action animation and design review.
Demo on page two available until this PR is merged: here
#20209