apply collectionFocus directly in start() after toggle (ensures focus in headless + device)

This commit is contained in:
Hermes committed 2026-08-08 18:41:45 +02:00
1 parent e1b500a313
commit 029ebd257c
1 file changed
+3
+3
View File
@@ -118,6 +118,9 @@
}
});
Lampa.Controller.toggle('content');
// Ensure focus is applied right away (collectionFocus works directly)
Lampa.Controller.collectionSet(grid);
Lampa.Controller.collectionFocus(cards[0], grid);
};
this.render = function () {