mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 02:36:54 +01:00
Outside the modal layers, a ModalRule::Declared app command now goes to the innermost instance around the focus that published its state, as it already did inside a modal layer: a list pane that declares Select All takes it while it holds the focus. Trial: commands::board::a_declared_edit_reaches_the_instance_around_the_focus. ViewportWindow::takes_unfocused_keys (opt-in, off by default) records the window's layer with the board; while that layer is open, a key pressed in its viewport with nothing focused goes to the instances in the window's body instead of the shell and page roots, as a modal layer's root already gets them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>