Files
Gitea/web_src/js/features
Tyrone Yeh 514f322dcf fix(repo-editor): disable Monaco editContext to avoid bugs with lost focus (#36585)
Currently, pressing the space key in the Monaco editor scrolls the page
instead of inserting a space
if the editor is focused. This PR stops the space key event from
propagating to parent elements,
which prevents unwanted page scrolling while still allowing Monaco to
handle space input normally.

Changes:
 - disable Monaco editContext

No changes to default editor behavior are needed; Monaco automatically
inserts the space character.

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: silverwind <me@silverwind.io>
2026-02-12 18:39:24 +00:00
..
2026-01-24 11:30:47 +00:00
2026-01-24 11:30:47 +00:00
2025-07-01 21:44:05 +08:00
2025-01-17 08:55:02 +00:00
2026-02-10 05:09:56 +00:00