fix focus issue

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2026-09-07 10:16:22 +02:00
parent fc5e87c028
commit ad619d23d5
4 changed files with 6 additions and 2 deletions
+2
View File
@@ -32,8 +32,10 @@ function Sidebar(props) {
return;
const index = itemIndexAtScreenY(select, event.y);
if (index !== null) {
select.focus();
select.setSelectedIndex(index);
select.selectCurrent();
event.preventDefault();
}
};
const handleMouseScroll = (event) => {
+1 -1
View File
@@ -1,7 +1,7 @@
// @bun
import {
Sidebar
} from "../chunk-89xtp8sa.js";
} from "../chunk-kd78dgfb.js";
import"../chunk-x7m82z3z.js";
import"../chunk-7f8jagy5.js";
import"../chunk-hcq62p48.js";
+1 -1
View File
@@ -1,7 +1,7 @@
// @bun
import {
Sidebar
} from "../chunk-89xtp8sa.js";
} from "../chunk-kd78dgfb.js";
import {
NotificationHost
} from "../chunk-b0h95a6q.js";