Skip to content

Scroll position is preserved when re-opening the same class in data browser via navigation bar #2443

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

Closed
4 tasks done
mtrezza opened this issue Jun 4, 2023 · 4 comments · Fixed by #2445
Closed
4 tasks done
Labels
bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Jun 4, 2023

New Issue Checklist

Issue Description

Scroll position does not reset when a filter is active and clicking on the class in the data browser.

Steps to reproduce

Prerequisites:

  • ClassA needs to contain more data rows than can be displayed on 1 page in web browser, e.g. 3 pages full of rows.
  1. Go to ClassA in data browser.
  2. Set any filter.
  3. Scroll down like half a page.
  4. In the data browser class list on the left click on ClassA.

Actual Outcome

The unfiltered table for ClassA is displayed with a scroll position that is down half a page.

Expected Outcome

The unfiltered table for ClassA is displayed with a scroll position that is scrolled to the top.
This is also the current behavior when clicking on a class that is not the current class.

Environment

Dashboard

  • Parse Dashboard version: 5.1.0
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Safari
  • Browser version: Version 16.4 (18615.1.26.110.1)
@parse-github-assistant
Copy link

parse-github-assistant bot commented Jun 4, 2023

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Jun 4, 2023
@mtrezza mtrezza changed the title Incorrect scroll position for pointer-nested data browsing Scroll position is incorrect preserved when opening a class in data browser Jun 4, 2023
@mtrezza mtrezza changed the title Scroll position is incorrect preserved when opening a class in data browser Scroll position is incorrect preserved when re-opening the same class in data browser via navigation bar Jun 4, 2023
@mtrezza mtrezza changed the title Scroll position is incorrect preserved when re-opening the same class in data browser via navigation bar Scroll position is preserved when re-opening the same class in data browser via navigation bar Jun 4, 2023
@mtrezza mtrezza changed the title Scroll position is preserved when re-opening the same class in data browser via navigation bar Incorrect scroll position when re-opening the same class in data browser via navigation bar Jun 4, 2023
@mtrezza mtrezza changed the title Incorrect scroll position when re-opening the same class in data browser via navigation bar Scroll position is preserved when re-opening the same class in data browser via navigation bar Jun 4, 2023
@mtrezza mtrezza added the bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) label Jun 4, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.2.0-alpha.11

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Jun 8, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.2.0-beta.2

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Jun 10, 2023
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.2.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$10 Bounty applies for fixing this issue (Parse Bounty Program) state:released Released as stable version state:released-alpha Released as alpha version state:released-beta Released as beta version type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
2 participants