lepoco / lepoco/wpfui

Switching between Navigation Pages resets page data

Open
#511 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
9.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

The new NavigationView implementation in v3.0.1 preview when switching between pages resets the data on page.

To Reproduce

Upgrade to v3.0.1-preview1 and utilize the new navigation view with some dummy pages with textbox on each pages.

Expected behavior

In v2.0.3 this isn't the case, switching between pages keeps the data as it is. Possible to have both options and let the developer decide ?

Saw there is CacheMode property but unsure what it does, no effect while setting it true or false.

Screenshots

No response

OS version

Win-10

.NET version

7.0

WPF-UI NuGet version

3.0.0-preview.1

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reset with the v3.0.1-preview1 NavigationView and textbox pages described in the issue, then inspect the NavigationView implementation and its CacheMode behavior. Done means switching pages preserves existing page data, or the available behavior is clearly exposed as a developer-controlled option.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.