Playback effects reflected on sliders (ipywidgets)

I’ve got a timeline interface with playback controls and detail sliders to adjust the rendered frame. The user either adjusts the details of the current frame or plays back recorded frames. This gives me a circular dependency if I’m not careful.

The solution I’m considering is to update the value of sliders in code without triggering observer events when the playback frame index is changed.

How would I solve this?

Do you have a minimal reproducible example which exhibits this behavior that you could share?