1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #2622 from dmitrylyzo/fix-tabs-transform-focus

Fix tabs scrolling in Tizen
This commit is contained in:
Bill Thornton 2021-06-24 02:01:23 -04:00 committed by GitHub
commit b065055635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 2 deletions

View file

@ -223,8 +223,9 @@ import layoutManager from './layoutManager';
let parent = element.parentElement;
while (parent) {
// Skip 'emby-scroller' because it scrolls by itself
// Skip 'emby-scroller' and 'emby-tabs' because they scroll by themselves
if (!parent.classList.contains('emby-scroller') &&
!parent.classList.contains('emby-tabs') &&
parent[nameScroll] > parent[nameClient] && parent.classList.contains(nameClass)) {
return parent;
}