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
馃悰 Custom transitionSpeed value cancelled after certain time or mousevents
Describe the bug
My custom set transition speed value is cancelled/bypassed after certain time or maybe (?) mousevents. It very noticeably switches from being smoothed to instantly responding. Upon moving the cursor outside and then inside the element the issue is (temporarily) resolved.
To Reproduce
Steps to reproduce the behavior:
Create a <Tilt /> component
Set a custom transitionSpeed prop
Wiggle your mouse around for a few seconds (while staying within the frame)
The transition speed is now instant
Move the cursor outside the component, then back in
Works again, but then issue repeats when you stay inside again
Expected behavior
I expect the transition speed to stay slow for as long as the prop is not unset
Link to demo (highly encouraged) CodeSandbox demo.
Code snippets
If applicable, add code samples to help explain your problem.
Environment
Browser: Chrome 85.0.4183.121 on Windows 10
Version: "react-parallax-tilt": tested 1.0.13 and (currently latest) 1.4.65
Additional context
I expect it has to do with specifically higher values for transition speed, but it might also be an effect of the change being more noticeable.
The text was updated successfully, but these errors were encountered:
Hi @nwesthoff, thanks for providing detailed bug report with reproducible demo link!
Bug fix is merged and deployed in the newest version 1.4.75, please check and confirm if it's working for you as expected?
馃悰 Custom transitionSpeed value cancelled after certain time or mousevents
Describe the bug
My custom set transition speed value is cancelled/bypassed after certain time or maybe (?) mousevents. It very noticeably switches from being smoothed to instantly responding. Upon moving the cursor outside and then inside the element the issue is (temporarily) resolved.
To Reproduce
Steps to reproduce the behavior:
<Tilt />
componenttransitionSpeed
propExpected behavior
I expect the transition speed to stay slow for as long as the prop is not unset
Link to demo (highly encouraged)
CodeSandbox demo.
Code snippets
If applicable, add code samples to help explain your problem.
Environment
Additional context
I expect it has to do with specifically higher values for transition speed, but it might also be an effect of the change being more noticeable.
The text was updated successfully, but these errors were encountered: