From 82dbfce37426f667577eba60fdba8ba83c8777b2 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Sun, 16 Jan 2022 18:54:51 +0300 Subject: [PATCH] Fix autofocus on Channels tab This limits the focus scope to the current tab, so that the channel card is selected the first time you open it. [for testing] The Channels tab should be the default for the LiveTV library. --- src/controllers/livetv/livetvchannels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/livetv/livetvchannels.js b/src/controllers/livetv/livetvchannels.js index 000cb5e3ec..ce81e633cc 100644 --- a/src/controllers/livetv/livetvchannels.js +++ b/src/controllers/livetv/livetvchannels.js @@ -120,7 +120,7 @@ export default function (view, params, tabContent) { isLoading = false; import('../../components/autoFocuser').then(({default: autoFocuser}) => { - autoFocuser.autoFocus(view); + autoFocuser.autoFocus(context); }); }); }