Vaadin 8 grid close editor when focus is lost

Hello,

I am using Vaadin 8.7.0. I have a grid where some columns are editable, and some are not. When the user is in editor mode and focus is inside an editable cell, clicking outside of the grid properly closes the editor. However, if you click on a not editable cell, editor mode stays open even after the user clicks outside of the grid. This is problematic if you have a function elsewhere on the page which updates the rows of the grid: the displayed data of the row at which the editor mode was left open will not update, leading the user to believe something went wrong. In other words, the old data is left inside the editor, and when you close it, the grid will show proper data afterwards.

What can be done about this issue? Thanks in advance for any input.