Escape doesn't close cell overlay consistently
If you open a cell and press Escape, it closes the cell overlay. But if you click inside the cell (if it is readonly), escape will do nothing:
https://github.com/glideapps/glide-data-grid/assets/2852129/23898488-2505-4f7f-a1c4-5da6c1b145fd
Is there a reason for this? It would probably be more consistent if esc always closes the cell overlay.
I also ran into this issue where escape does noop like what @LukasMasuch mentioned
This is probably a bug. What happens when the text cell is readonly and you try clicking on it, because the textarea is disabled, focus is transferred from canvas to body. And then onKeyDown doesn't work anymore to escape the editor.
~~We would probably need a focus trap for this (?).~~ We can use the readonly attribute for input and textarea to be able to keep focus but disable editing.
https://github.com/glideapps/glide-data-grid/assets/15721634/812d72e8-682a-4018-a1ab-8651a1aec1ee