mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-10-26 16:45:18 +00:00
Don't constraing end position for scrollers if in TV layout
This commit is contained in:
1 parent
3f7a84512e
commit
98f5bc3d9c
1 file changed
+5
-1
@@ -256,7 +256,11 @@ var scrollerFactory = function (frame, options) {
|
||||
ensureSizeInfo();
|
||||
var pos = self._pos;
|
||||
|
||||
newPos = within(newPos, pos.start, pos.end);
|
||||
if (layoutManager.tv) {
|
||||
newPos = within(newPos, pos.start);
|
||||
} else {
|
||||
newPos = within(newPos, pos.start, pos.end);
|
||||
}
|
||||
|
||||
if (!transform) {
|
||||
nativeScrollTo(nativeScrollElement, newPos, immediate);
|
||||
|
||||
Reference in new issue
Block a user