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
I am using the component with trackOnWindow={true} and while the tilt effect works great, the glare is not visible until a hover event occurs. Once hovered over the element, the glare effect stays as expected.
Is there a way to force glare to be visible on load?
If you just move the mouse around without "touching" the element, no glare is visible, but once you hover on it once and then move around, the glare remains.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using the component with
trackOnWindow={true}
and while the tilt effect works great, the glare is not visible until a hover event occurs. Once hovered over the element, the glare effect stays as expected.Is there a way to force glare to be visible on load?
You can see what I am referring to here: https://mkosir.github.io/react-parallax-tilt/?path=/story/react-parallax-tilt--track-on-window
If you just move the mouse around without "touching" the element, no glare is visible, but once you hover on it once and then move around, the glare remains.
Beta Was this translation helpful? Give feedback.
All reactions