I implemented a transition effect for the Read More
and Read Less
buttons, however, there seems to be a delay on the transition when clicking on the Read Less
button. This delay was not intentionally set by me. How can I resolve this issue and also apply a transition effect to a gradient?
You can view my Code Sandbox project here: https://codesandbox.io/s/aged-breeze-bbqel