Commit f235599
fix(frontend): revert scroll-to-bottom focus/tabIndex — prevents mobile keyboard
The Copilot review suggested adding terminal.focus() after scrollToBottom
and changing tabIndex to 0 for accessibility. Both changes inadvertently
open the soft keyboard on mobile when tapping the scroll-to-bottom button,
covering half the terminal. This is an intentional design decision: the
button scrolls without stealing focus so the keyboard stays closed.
Added inline comments explaining the rationale so reviewers understand
the intent.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c5dcd44 commit f235599
1 file changed
Lines changed: 11 additions & 2 deletions
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
490 | 493 | | |
491 | 494 | | |
492 | 495 | | |
493 | 496 | | |
494 | 497 | | |
495 | 498 | | |
496 | 499 | | |
497 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
498 | 503 | | |
499 | 504 | | |
500 | 505 | | |
| |||
528 | 533 | | |
529 | 534 | | |
530 | 535 | | |
531 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
532 | 541 | | |
533 | 542 | | |
534 | 543 | | |
| |||
0 commit comments