Skip to content

Blazor database example's list page is reloaded when coming back from a details page #58

@HubKing

Description

@HubKing

Describe the issue
In the BlazorServerDbContextExample sample, if I go back from item details page to the list, the list reloads. This makes that the list page would lose the previous state such as scroll position. This will annoy users if the list is long.

If there is a way to keep the list page view in the memory and do not reload the list page when coming back, please explain the way to implement that in the sample's documentation.

To Reproduce
Steps to reproduce the behavior:

  1. Run BlazorServerDbContextExample
  2. Make the window smaller so that a scroll bar would appear
  3. Scroll down to any item down below in the list
  4. Click the item
  5. Click [Back to Grid] or press the mouse back button or click the browser back button

Expected behavior
Going back the list view exactly where I was.

Screenshots
jxXoL

Additional context
Add any other context about the issue here.

.NET Version
6.0


Issue Details

Do not edit this section. It is required for issue processing.

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions