mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-06 10:30:14 -06:00
The space a Space press types was dropped while any control was focused, because Space presses a focused button. A slider or spin button doesn't take Space, so with one focused Space neither worked the control nor started a cell edit, while every other character did. Now the space is dropped only for a focused button; on a slider or spin button it reaches the grid like any other character and starts a cell edit. The control keeps the keyboard, as the control last worked: Space is a key it doesn't take, exactly like a letter, and letting go on Space alone would make Space differ from every other printable key. Test (kittest): space_starts_a_cell_edit_while_a_slider_or_spin_button_is_focused (a cell edit starts with a space, the control's value is unchanged, Escape cancels, the arrows still step it). docs/ui-parity.md says so.