Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll position is wrong when files have attributes #257

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Scroll position is wrong when files have attributes #257

wants to merge 1 commit into from

Conversation

t00n
Copy link

@t00n t00n commented Sep 25, 2018

Hi !

In the browser, when coming back from a directory, the scrolling of the previous directory is set before the file attributes (album name, etc...) are loaded, which results in a wrong scrolling if a lot of files have attributes because loading attributes changes the height of the scroll.

I simply moved the code that sets the scrolling after the code that loads file attributes.

…les attributes are loaded after window.scrollTo is called
@kingosticks
Copy link
Member

I'd love it if this was the fix. Does it work for playlists too? What browsers have you checked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants