This is the component.
When it smart animates to hide the button, it introduces weird ugly artifacts around the borders of the frame.
Can someone teach me why this happens? Is it because the component is built in a particular way?
Would love to understand so I can improve it