Commit eb91fa2
Present mode: slide-aware fragment links, focused controls own their keys
Two Codex review findings on the presenter, both real:
A same-document link mid-show pointed at a display: none slide — the
browser's fragment jump showed nothing and clobbered the #present-N
resume hash. The click handler now resolves the target's owning slide
and navigates the show there; fragment targets outside the deck (the
footnote back matter, hidden behind the overlay) are swallowed as
no-ops instead of corrupting state.
Space with a task checkbox focused advanced the deck and prevented the
toggle. The keydown path now mirrors the click pass-through: a focused
control (typing targets, buttons, summaries) owns its keys, with Escape
remaining the exit everywhere.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 80964b5 commit eb91fa2
1 file changed
Lines changed: 27 additions & 0 deletions
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
140 | 146 | | |
141 | 147 | | |
142 | 148 | | |
| |||
178 | 184 | | |
179 | 185 | | |
180 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
181 | 208 | | |
182 | 209 | | |
183 | 210 | | |
| |||
0 commit comments