mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Disable scrollManager on emby-scroller
This commit is contained in:
parent
07268df35a
commit
6ad85b3c45
@ -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…
Reference in New Issue
Block a user