Monochromic icon indicating copy to clipboard operation
Monochromic copied to clipboard

JF doesn't jump to top

Open internetfreak opened this issue 5 years ago • 3 comments

Hello,

nice work with this style, I like it because it looks quite modern. However, there's one small issue when using this style. Without any custom CSS, when scroliing to the bottom of the page within a library and going forward/backward, the view jumps to the top as the new page is loaded. With the style activated, this doesn't happen anymore so the page switches but the scroll position stays at the bottom.

I'm using Jellyfin 10.6.4 with Firefox as browser

internetfreak avatar Nov 09 '20 04:11 internetfreak

I haven't a clue what might cause such a difference in behaviour. This is going pretty far back in priority for things I'll look at, but I may fix it eventually, provided I can be bothered with finding the cause through trial and error.

You don't actually have to use pagination in JF anymore, though. Support for lazy loading was added in the last major release and you can remove pagination entirely. To enable this, navigate to the "Display" section in user settings and set the page size to zero.

CTalvio avatar Nov 09 '20 21:11 CTalvio

Thanks, that works fine for me. Maybe it's some bug within Jellyfin itself? Can't say for sure, that's my first time I use a custom skin.

internetfreak avatar Nov 10 '20 09:11 internetfreak

Leaving this here as a memo.

Bug is caused by setting overflow: scroll; on #tvRecommendedPage

No idea how I'd address this, as setting it to the default "visible" in turn makes things render below the transparent taskbar as you scroll up.

CTalvio avatar Jan 18 '21 18:01 CTalvio