mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add 'scroll on focus' to emby-tabs
This commit is contained in:
parent
b0531085af
commit
f233182573
2 changed files with 20 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue