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

Save scrolling position when switching pages or browsing the library. #224

Merged
merged 3 commits into from
Feb 16, 2017

Conversation

jcass77
Copy link
Member

@jcass77 jcass77 commented Jan 22, 2017

Fixes #73. Fixes #93.

I'm not sure whether it makes sense to add UI state (like storing the scrolling position) to the browseStack array. But that seems better than declaring yet another array just to persist the UI state, and then have to keep multiple structures in sync using URI identifiers?

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 40.861% when pulling 466b805 on jcass77:fix/73_93_scroll_positions into 9856685 on pimusicbox:develop.

@jcass77
Copy link
Member Author

jcass77 commented Jan 22, 2017

Pushed 0e6e15e which fixes an issue with the scroll position not being loaded correctly for the 'browse' pane.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 40.872% when pulling 0e6e15e on jcass77:fix/73_93_scroll_positions into 9856685 on pimusicbox:develop.

@kingosticks
Copy link
Member

kingosticks commented Jan 22, 2017 via email

@coveralls
Copy link

Coverage Status

Coverage increased (+2.3%) to 43.114% when pulling 7a89696 on jcass77:fix/73_93_scroll_positions into 9856685 on pimusicbox:develop.

@jcass77
Copy link
Member Author

jcass77 commented Jan 27, 2017

This PR only addresses the issues with the current scrolling mechanism.

Using scrolling divs might be better as a next step (especially for the 'Playlists' page - #38).

@jcass77
Copy link
Member Author

jcass77 commented Feb 4, 2017

Are we happy to merge this as an interim measure until we take a closer look at #38?

@kingosticks kingosticks merged commit 7a89696 into pimusicbox:develop Feb 16, 2017
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.

3 participants