There is an issue with the DataGrid. Sometimes (usually every 3rd/4th... times) committing the value with [enter] key will start editing the next cell, and automatically types a newline char (making the cell 2 lines), replacing the current value. So like [enter] key is added as if user would have typed it.
I debugged, and what happens when Enter is pressed, CellEditEnding() called with Commit, but right after BeginningEdit() is called by "somebody". The callstack for this unnecessary BeginningEdit() is the same as I start to edit the cell manually. Note again, this only happens sporadically (but reproducible). Maybe someone has an idea, what should I start to do with this issue? Important, it only happens, if the WPF control is embedded into a .NET control via ElementHost, and it's used as a COM control (in our case,from a C++ code). If the WPF control is used directly in a WPF Window, it's fine, no such behavior.
I attach a screen for better understanding.