Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable NavigationViewContentPresenter refreshing from keyboard #1298

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

Nice3point
Copy link
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
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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