Fixed when scrolling animation bug

I have a component with 2 variants and an auto-animate transition between them triggered by a click.
The component is then placed on a page with “fix position when scrolling” enabled.
It all works as expected when the page loads and no scrolling has happened.
If I scroll down, the component stays where it should but the animation that is triggered by a click stops working and the component simply jumps from one variant to the other with no auto-animate.

How do I fix this?

Do any official Figma reps look at these forums?

I don’t think you understand what I’m talking about, watch the video, first time it all works second time there’s no animation.

Do as I described above (wrap the instance in a frame) and check again.

it did work, thanks.