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

Can't click HyperLink inside NavigationView #119

Closed
ShankarBUS opened this issue Jun 19, 2020 · 2 comments
Closed

Can't click HyperLink inside NavigationView #119

ShankarBUS opened this issue Jun 19, 2020 · 2 comments

Comments

@ShankarBUS
Copy link
Contributor

ShankarBUS commented Jun 19, 2020

Describe the bug
Can't click on hyperlink which is in a Page>Frame>NavigationView. It throws a System.InvalidOperationException saying 'System.Windows.Documents.Hyperlink' is not a Visual or Visual3D.

Steps to reproduce the bug

  1. Clone and build the HyperlinkBug branch of ShankarBUS/ModernWpfTest repo
  2. Run it and Navigate to the About page
  3. Click on the hyperlink which says "Click this link"
    The error will thrown

Expected behavior
Clicking on hyperlink should work as expected

@Kinnara
Copy link
Owner

Kinnara commented Jun 19, 2020

Looks like a bug in ItemsRepeater. A workaround is setting Focusable to false, or use HyperlinkButton.

@ShankarBUS
Copy link
Contributor Author

ShankarBUS commented Jun 19, 2020

Any timeframe on when there will be a release for this fix? And how do I know if the issue is fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants