You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the focus improvement discussed here: #75 I think another improvement would be to set the transition duration to 0s on the element to be focused, this way it seems you can avoid any visual flickering if you have transitions on focus of elements, which i think is relatively common on input elements too.
And this small change seems to help with the swapping transitions. Although I don't understand the reason as to why after swapped in, the transition style gets cleared. Nonetheless, this is actually what I would expect too!
Not sure if there would be a scenario where you would not want to set the state of the focused element to reflect the :focus state?
The text was updated successfully, but these errors were encountered:
As per the focus improvement discussed here: #75 I think another improvement would be to set the transition duration to 0s on the element to be focused, this way it seems you can avoid any visual flickering if you have transitions on focus of elements, which i think is relatively common on input elements too.
I tried adding right before the focus:
And this small change seems to help with the swapping transitions. Although I don't understand the reason as to why after swapped in, the transition style gets cleared. Nonetheless, this is actually what I would expect too!
Not sure if there would be a scenario where you would not want to set the state of the focused element to reflect the :focus state?
The text was updated successfully, but these errors were encountered: