N
N
nos43ratu2020-05-17 22:08:14
JavaScript
nos43ratu, 2020-05-17 22:08:14

How to end an animation in react that is attached to a cursor?


This application, depending on the position of the cursor, changes the width of the background and the position of the icon that follows the mouse and changes its size if the mouse speed is
high
.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2020-05-18
@Sanasol

Why animate and re-render if nothing has changed?
Still tied to the mouse

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question