Data_editor every second update is reverted

Hi All,

I have a data editor where I have properly added the data using session state and data updates are happening correctly.

However I am facing an issue with the data editor itself.

Every second update in the data editor is getting reverted.

Example - When I change value in the first cell it works but when I change valie in next cell it reverts back to what it was earlier. i have to make the update again.
This issue happens on every alternate update.

This does not happen when I put the data editor inside form but I don’t want to use a form as I dont want a submit button.

Please show your code snippet so we can find any potential bugs.