-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Remove the animations from the suggestions UI #17247
Conversation
Remove all item animations from the suggestions UI. They're | ||
entirely too slow to let that UI be usable. | ||
--> | ||
<Style x:Key="NoAnimationsPls" |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
@@ -203,7 +222,10 @@ | |||
ItemClick="_listItemClicked" | |||
ItemsSource="{x:Bind FilteredActions}" | |||
SelectionChanged="_listItemSelectionChanged" | |||
SelectionMode="Single" /> | |||
SelectionMode="Single" | |||
Style="{StaticResource NoAnimationsPls}"> |
Check failure
Code scanning / check-spelling
Unrecognized Spelling
@@ -12,6 +12,7 @@ | |||
xmlns:model="using:Microsoft.Terminal.Settings.Model" | |||
xmlns:mtu="using:Microsoft.Terminal.UI" | |||
xmlns:mux="using:Microsoft.UI.Xaml.Controls" | |||
MinWidth="256" |
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.
Does it need to be this much, or can we let the width get adjusted dynamically as a percentage of the page width? Do we need a MaxWidth
?
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.
Ah, that was an unrelated nit that snuck in accidentally. IMO this makes it feel a lot smoother, since the width doesn't snap back and forth. The placeholder text makes the menu open at like, 252px or something, but then filtering the menu usually immediately makes it quite a bit narrower. This keeps the width a bit more consistent
Exactly the same as #17247, but also just applied to the command palette. It's so much better guys.
gotta go fast, and these animations are not fast
noted in #15845