We have a handsontable implementation that implements custom cell editors. We have custom column headers that contain simple text input fields.
After upgrading HOT version, we notice that when a cell editor is open and a column header input field is clicked, an error is raised in the browser console. The error also prevents the new cell value in the editor from being committed.
The error log from the console is below. It appears that HOT is attempting to get the last selection (getSelectedLast) and expects it to have a value, but it is undefined in this case. This causes the TypeError. Is this issue known and can it be remedied?
Core-c2a36204.js:43176 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'highlight')
at uT.prepareEditor (Core-c2a36204.js:43176:44)
at Core-c2a36204.js:43169:19
at Pa._closeCallback (Core-c2a36204.js:61192:20)
at Pa._fireCallbacks (Core-c2a36204.js:61070:34)
at Pa.discardEditor (Core-c2a36204.js:61228:286)
at Pa.cancelChanges (Core-c2a36204.js:61219:36)
at O.W.onQueueEmpty (Core-c2a36204.js:60063:19)
at Object.checkIfQueueIsEmpty (Core-c2a36204.js:60049:67)
at Object.removeValidatorFormQueue (Core-c2a36204.js:60044:104)
at Core-c2a36204.js:60076:13