-
Hi! I am trying to transition a sidebar that is on the right using margin, but the transition is creating additional layout shifting (it also is more "twitchy/abrupt"). It is much more smooth without the transition component, but I want to change it depending on screen size & it would be the cleanest solution to use Transition. On smaller devices I want to use translate-x (so it just overlays the other content) and on larger devices, I want to use margin (so it takes up space) What am I doing wrong? Code with Transition component:
Code without transition component:
Here's an album showcasing it: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved the problem. It was unrelated to the Transition component! I removed a scroll dummy that was inside the chat and now it works perfectly fine. Spent way too long time on this lol! |
Beta Was this translation helpful? Give feedback.
Solved the problem. It was unrelated to the Transition component!
I removed a scroll dummy that was inside the chat and now it works perfectly fine. Spent way too long time on this lol!