Retain page scroll position on backwards navigation #312

Closed
opened 2017-06-29 16:59:12 +02:00 by tzarebczan · 3 comments
tzarebczan commented 2017-06-29 16:59:12 +02:00 (Migrated from github.com)

The Issue

The home page loses its place when you go back to it. If the home page had hundreds of options on it, it would be really annoying to have to scroll all the way down to wherever you were last browsing before you clicked on something.

Steps to reproduce

  1. Scroll down on home page, enter a video/media
  2. Click back
  3. Now you at back at the top of the home page

Expected behaviour

Home page should return to where you were before going into media

Actual behaviour

Home page goes back to top

System Configuration

  • LBRY Daemon version:
  • LBRY App version: 0.12.2RC9
  • LBRY Installation ID:
  • Operating system:

Anything Else

Screenshots

## The Issue The home page loses its place when you go back to it. If the home page had hundreds of options on it, it would be really annoying to have to scroll all the way down to wherever you were last browsing before you clicked on something. ### Steps to reproduce 1. Scroll down on home page, enter a video/media 2. Click back 3. Now you at back at the top of the home page ### Expected behaviour Home page should return to where you were before going into media ### Actual behaviour Home page goes back to top ## System Configuration <!-- For the app, this info is in the About section at the bottom of the Help page. You can include a screenshot instead of typing it out --> <!-- For the daemon, run: curl 'http://localhost:5279/lbryapi' --data '{"method":"version"}' and include the full output --> - LBRY Daemon version: - LBRY App version: 0.12.2RC9 - LBRY Installation ID: - Operating system: ## Anything Else <!-- Include anything else that does not fit into the above sections --> ## Screenshots <!-- If a screenshot would help explain the bug, please include one or two here -->
akinwale commented 2017-07-02 00:03:59 +02:00 (Migrated from github.com)

Should only the vertical scroll position be maintained? Or should the horizontal scroll position for each individual category be maintained as well?

Should only the vertical scroll position be maintained? Or should the horizontal scroll position for each individual category be maintained as well?
kauffj commented 2017-07-06 00:05:54 +02:00 (Migrated from github.com)

Vertical only

Vertical only
kauffj commented 2017-07-11 15:35:59 +02:00 (Migrated from github.com)

There is a PR for this.

There is a PR for this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#312
No description provided.