mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Disable scrollManager on emby-scroller
This commit is contained in:
parent
07268df35a
commit
6ad85b3c45
1 changed files with 3 additions and 1 deletions
|
@ -171,7 +171,9 @@ define(["dom", "browser", "layoutManager"], function (dom, browser, layoutManage
|
|||
var parent = element.parentElement;
|
||||
|
||||
while (parent) {
|
||||
if (parent[nameScroll] > parent[nameClient] && parent.classList.contains(nameClass)) {
|
||||
// Skip 'emby-scroller' because it scrolls by itself
|
||||
if (!parent.classList.contains("emby-scroller") &&
|
||||
parent[nameScroll] > parent[nameClient] && parent.classList.contains(nameClass)) {
|
||||
return parent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue