💥 fix(runner): result selection not working, scrolledwindow not scrolling automatically with focused row

This commit is contained in:
retrozinndev
2025-07-27 17:51:10 -03:00
parent d3df0f0aec
commit a67da99839
8 changed files with 214 additions and 156 deletions
+5 -1
View File
@@ -109,7 +109,7 @@ export function PopupWindow(props: PopupWindowProps): GObject.Object {
}
}));
conns.set(keyController, keyController.connect("key-released", (_, keyval, keycode) => {
conns.set(keyController, keyController.connect("key-pressed", (_, keyval, keycode) => {
if(keyval === Gdk.KEY_Escape) {
conns.forEach((id, obj) => {
obj.disconnect(id);
@@ -158,3 +158,7 @@ export function PopupWindow(props: PopupWindowProps): GObject.Object {
</Gtk.Box>
</Astal.Window> as Astal.Window;
}
export function getPopupWindowContainer(popupWindow: Astal.Window): Gtk.Box {
return popupWindow.get_child()!.get_first_child() as Gtk.Box;
}