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

Hover Transition issue if there's no animation present #3207

Closed
andeng1106 opened this issue Jun 11, 2024 · 0 comments · Fixed by #3238
Closed

Hover Transition issue if there's no animation present #3207

andeng1106 opened this issue Jun 11, 2024 · 0 comments · Fixed by #3238
Assignees
Labels
animation bug Something isn't working

Comments

@andeng1106
Copy link

andeng1106 commented Jun 11, 2024

Describe the bug

<script>requestAnimationFrame(() => document.body.classList.add( "stk--anim-init" ))</script>

To Reproduce
Steps to reproduce the behavior:

  1. Add a new page
  2. Add a Heading block (or any block)
  3. Add Text Color on both normal state and hovered state
  4. Make sure no animations are present (e.g. motion effects, etc.)
  5. Save page and view frontend
  6. See that the hover transition is not smooth (issue)
  7. Add animations on the Heading block (e.g. motion effects, etc.)
  8. Repeat step 5
  9. See that hover transition is smooth

Expected behavior
Hover transition animation should still work if there's no other animations present

Screenshots

hover.transition.animation.issue.mov
@andeng1106 andeng1106 added bug Something isn't working animation labels Jun 11, 2024
@andeng1106 andeng1106 changed the title Hover Transition issue if there's no animation Hover Transition issue if there's no animation present Jun 11, 2024
@bfintal bfintal closed this as completed Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
animation bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants