-
Notifications
You must be signed in to change notification settings - Fork 802
Remove code that removed focus visual in SelectionFollowsFocus mode #3190
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -508,10 +508,6 @@ | |
| </Setter> | ||
| </Style> | ||
|
|
||
| <!--Note: Even though UseSystemFocusVisuals is set to True here in the Style, and because | ||
| bindings in Styles are only evaluated once, we were unable to bring a TemplateSettings.UseSystemFocusVisuals | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
@chingucoding and @Felix-Dev does this tid bit explain some of the Binding issues you've been seeing in other PRs?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That certainly explains the issues I have seen. So the workaround is to essentially handle the binding inside the control logic then? |
||
| to handle the removal of the focus rect when SelectionFollowsFocus is enabled. Therefore, that has | ||
| been done in code and it's updated whenever SelectionFollowsFocus is changed.--> | ||
| <Style TargetType="local:NavigationViewItem"> | ||
| <Setter Property="Foreground" Value="{ThemeResource NavigationViewItemForeground}" /> | ||
| <Setter Property="Background" Value="{ThemeResource NavigationViewItemBackground}" /> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this isn't called anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this isn't used anymore, missed that function. Is removed now.