First Edit Not Registered in st.data_editor - Requires Second Attempt to Save Changes

Typically, the double submit problem occurs with the anti-pattern of updating Session State from the output of a widget.

Are you dealing with a similar situation to this: Shuffling Dataframe in data_editor with checkboxes - #2 by mathcatsand