Switching between Navigation Pages resets page data
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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