mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
8dbdfe3be1
commit
058d86a988
29 changed files with 239 additions and 314 deletions
|
@ -161,10 +161,6 @@ define(['browser', 'layoutManager', 'scrollStyles'], function (browser, layoutMa
|
|||
// no scrolling supported
|
||||
options.enableNativeScroll = false;
|
||||
}
|
||||
else if (browser.edge && !browser.xboxOne) {
|
||||
// no scrolling supported
|
||||
options.enableNativeScroll = false;
|
||||
}
|
||||
else if (isSmoothScrollSupported && browser.firefox) {
|
||||
// native smooth scroll
|
||||
options.enableNativeScroll = true;
|
||||
|
@ -174,8 +170,15 @@ define(['browser', 'layoutManager', 'scrollStyles'], function (browser, layoutMa
|
|||
// transform is the only way to guarantee animation
|
||||
options.enableNativeScroll = false;
|
||||
}
|
||||
else if (layoutManager.mobile ||
|
||||
layoutManager.desktop ||
|
||||
else if (layoutManager.mobile) {
|
||||
|
||||
options.enableNativeScroll = true;
|
||||
}
|
||||
else if (browser.edge && !browser.xboxOne) {
|
||||
// no scrolling supported
|
||||
options.enableNativeScroll = false;
|
||||
}
|
||||
else if (layoutManager.desktop ||
|
||||
!browser.animate) {
|
||||
|
||||
options.enableNativeScroll = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue