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
When attempting to style the NumberFlow element using background-clip: text (to apply a gradient to the text), the element becomes invisible. We would like to use NumberFlow in combination with text gradients, but this issue prevents that styling option.
Steps to Reproduce
Add a NumberFlow element to the page.
Apply a gradient background to the element.
Set background-clip: text and color: transparent for the text gradient effect.
Observe the NumberFlow element becoming invisible.
Expected Behavior
The NumberFlow text should display properly with the gradient applied, maintaining visibility.
Actual Behavior
The NumberFlow text becomes invisible when background-clip: text is used.
NumberFlow version
[email protected]
Framework version
[email protected] & [email protected]
Describe the bug and the steps to reproduce it
Description
When attempting to style the NumberFlow element using
background-clip: text
(to apply a gradient to the text), the element becomes invisible. We would like to use NumberFlow in combination with text gradients, but this issue prevents that styling option.Steps to Reproduce
background-clip: text
andcolor: transparent
for the text gradient effect.Expected Behavior
The NumberFlow text should display properly with the gradient applied, maintaining visibility.
Actual Behavior
The NumberFlow text becomes invisible when
background-clip: text
is used.Environment
Minimal reproduction (greatly appreciated)
https://codesandbox.io/p/sandbox/gjqkpj
The text was updated successfully, but these errors were encountered: