mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-18 16:14:57 +00:00
A space on a checkbox cell toggles it, and the same key press also arrives as text -- and typing text starts editing the cell. So the cell toggled *and* opened an editor holding a space, which Enter then committed over the checkbox: the value the space had just set was replaced by a space. A space on a checkbox cell is no longer read as text to type. Rebased onto main, 352 commits on: the grid's keyboard handling moved from grid.rs to grid/keyboard.rs, which already imports `is_checkbox`, so the arm sits in front of the general text arm there. Without it the test fails on "no editor opened" -- that is, the editor still opens.