Transition flashes for a ms before it's leaving #1873
Replies: 2 comments 1 reply
-
You're using wobbly config so there's a bounce on either side, you can see this when you open it clearly by the up and down movement of the modal, however, when it closes it wobbles at the end thus the opacity comes back slightly and then disappears. |
Beta Was this translation helpful? Give feedback.
-
Hi again! I have solved this using a different kind of animation, but there is one thing that I can't fix. Everything inside the modal div that has |
Beta Was this translation helpful? Give feedback.
-
Hey!
I've asked a question here before regarding this component I'm building and got awesome help :D!
I'm in the final stages on this but I can not understand why this thing is happening.
If you click the dragble button to display the div, it switches nicely to enter.
But when it leaves it first looks ok, then you can during a short ms see the red text "GET STARTED" and "CLOSE".
How does this happen? I probably missed something obvious :)
https://codesandbox.io/s/uyb9ho?file=/src/DraggableButton.jsx
Beta Was this translation helpful? Give feedback.
All reactions