Skip to content

Disable NavigationViewContentPresenter refreshing from keyboard#1298

Merged
pomianowski merged 1 commit intolepoco:mainfrom
Nice3point:update_disableRefreshing
Dec 25, 2024
Merged

Disable NavigationViewContentPresenter refreshing from keyboard#1298
pomianowski merged 1 commit intolepoco:mainfrom
Nice3point:update_disableRefreshing

Conversation

@Nice3point
Copy link
Copy Markdown
Contributor

@Nice3point Nice3point commented Dec 25, 2024

Now NavigationViewContentPresenter inherits keyboard navigation from Frame.

I suggest that NavigationViewContentPresenter should not be updated when pressing F5. This triggers the Navigating event and INavigationAware notifications. It also reloads the page itself.

This behaviour of Frame is fine when it is displaying Web content, but we use it to navigate the Desktop application.

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

@github-actions github-actions bot added controls Changes to the appearance or logic of custom controls. PR Pull request navigation Changes to navigation related controls. dotnet release labels Dec 25, 2024
@pomianowski pomianowski merged commit 397739b into lepoco:main Dec 25, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

controls Changes to the appearance or logic of custom controls. dotnet navigation Changes to navigation related controls. PR Pull request release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants