Ghosting of previous elements

I’m not sure how to describe this, but often I encounter ‘ghosting’ of previous elements/text on the page when a rerun is executed. It usually occurs when using st.empty or container, and the container is cleared and new elements/text are populating it. Please see screenshot. How can i avoid this?

You’ll see the old, dimmed remnants of elements after a rerun:
image

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.