Skip to content

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

Closed
@mtrezza

Description

@mtrezza

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$10Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionstate:released-alphaReleased as alpha versionstate:released-betaReleased as beta versiontype:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions