Toggle in a Sticky state stops working with scrolling

There is a frame containing a search and a toggle panel. When scrolling, the place that can be clicked to change the state of the page seems to remain in place. How can I fix this? Thank you!

Hey @madsimon914, sorry to hear you’re having trouble!

It’s hard to be sure without seeing how you’ve set up your prototype. Are you able to share a link to your file, so that we here in the community can take a closer look?