Having trouble implementing the exit functionality on various mobile devices using framer Motion.

I have used AnimatePresence and set the time interval for the animation. Everything is working fine on the desktop, but on mobile, I have tested it on seven devices, and in three devices the animation is working properly, while in the other four, it is not. The issue is that the animation takes extra space during the transition, causing the height to increase. I need someone to review my code and fix any errors causing this issue. The animation should work properly on mobile, without taking any extra space during the transition. Can anyone please help me fix this problem?
1 Reply
Skylark
Skylark11mo ago
You should share a working example and not just the JS
Want results from more Discord servers?
Add your server