Skip to main content
Solved

"While hover" problem with (local) text styles

  • September 7, 2021
  • 4 replies
  • 2979 views

Silver
  • New Participant
  • 9 replies

Hi! Suppose I have a component with variants that make use of local text styles - one without underline (normal) and another with underline (hover). Problem: when exiting hover (in prototype), text style does not reset. But, if I detach text styles, its working!? All other resets work (color etc), except text styles.
Someone else having this problem? I’m working with a starter file which I’ve been using for months and as of today this problem occured 😦

Best answer by Silver

Found out that detaching and reapplying text styles in main component resolves the problem.

View original
This topic has been closed for replies.

4 replies

J_Yun1
  • 12 replies
  • September 13, 2021

Yup. Having the same issue. Set base component with two different text styles. Default=Regular @ 100% Opacity, Hover=Bold @ 50% Opacity. When mouse exits, the color resets but the text style does not reset to regular.


Silver
  • Author
  • New Participant
  • 9 replies
  • Answer
  • September 21, 2021

Found out that detaching and reapplying text styles in main component resolves the problem.


J_Yun1
  • 12 replies
  • September 23, 2021

That’s pretty hacky but it works. haha


  • 0 replies
  • October 23, 2021

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings