FluentAvalonia icon indicating copy to clipboard operation
FluentAvalonia copied to clipboard

Frame does not respect target/parameter changes with same page type

Open zznty opened this issue 1 year ago • 0 comments

Describe the bug In WPF/WInUI Frame navigation will happen even if page with the same type is already being displayed, but in this library doesnt matter what parameter or target you will pass with the same page type, it will stay with current page

Desktop/Platform (please complete the following information):

  • OS: Windows 11
  • FluentAvalonia Version 2.0.0-preview6
  • Avalonia Version 11.0.0-preview6

Additional context Imagine i have page displaying directory content and i want to open sub-directory, so i will call Frame.NavigateFromObject with new instance of viewModel representing this sub-directory, but frame will use currently cached instead because its only comparing page type and not its parameter/target.

zznty avatar Apr 09 '23 06:04 zznty