List Scroll Position Not Preserved After Navigating Back from Detail View

I’m currently migrating from Classic and running into some challenges with the new interface.

In my Classic app, I display a list of about 5,000 items. When I click on an item, it navigates correctly to the detail view. However, when returning to the list, it scrolls back to the top rather than maintaining the previous scroll position.

Is there a recommended solution or best practice to preserve the scroll position when navigating back to the list? Any guidance would be greatly appreciated!

1 Like

I’ve been having the same issue.. I guess we should change it to a Feature request

1 Like

This has been a feature request for a while.

3 Likes

cool, Upvoted :slight_smile:

+1 upvoted!

For now, I’m wondering is there a recommended way to have “previous” and “next” buttons on the item details screen of a collection?

1 Like

Data Setup
1- Add a Row ID column if you don’t already have one
2- Add a sort order column

Add Computed Columns
3- Sort Order Index: Add a Row Index column that gives each row a position based on your sort field
4- Add two Math columns:

  • Previous Index = Row Index - 1
  • Next Index = Row Index + 1
    5- Create two self-relations:
  • Relation to Previous: Match Previous Index to Row Index in the same table
  • Relation to Next: Match Next Index to Row Index in the same table

Add Buttons in the Details Screen
6- On the item details screen, add two buttons:

  • Previous Button:
    • Action: Show Detail Screen
    • Data: from Relation to Previous
  • Next Button:
    • Action: Show Detail Screen
    • Data: from Relation to Next.

And u can use Visibility Conditions to hide the buttons when there’s no next or previous

1 Like

Fantastic thanks very much @MazenAlharbi!

1 Like