minor ui base component fixes and shablon update

This commit is contained in:
Gani Georgiev committed 2026-08-10 08:15:14 +03:00
1 parent 32fa2ddf77
commit 9f1a4bcfa5
11 files changed
+35 -17

No files matched your search

+6
View File
@@ -307,6 +307,12 @@ window.app.components.codeEditor = function(propsArg = {}) {
return;
}
// prevent "Tab trap"
if (!props.singleLine && e.key == "Escape" && !dropdown?.isConnected) {
editorContent?.blur();
return;
}
if (!props.singleLine && e.key == "Tab") {
e.preventDefault();
const selection = window.getSelection();