-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Remove animations from RangeSelector #3611
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 animations from RangeSelector #3611
Conversation
Thanks RosarioPulella for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
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.
Thinking I remember why this was done. As now if you press keystrokes multiple times without holding down the Tooltip flashes. Wondering if we could use our Debounce
helper around the calls to Visibility.Collapsed
for the Tooltip (in the few spots it's called) in order to not have the Tooltip close immediately?
Thoughts?
@michael-hawker Looking into it. |
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.
@michael-hawker I tried to use Debounce, feel free to give me some feedback on the implementation.
Microsoft.Toolkit.Uwp.UI.Controls/RangeSelector/RangeSelector.cs
Outdated
Show resolved
Hide resolved
Microsoft.Toolkit.Uwp.UI.Controls/RangeSelector/RangeSelector.cs
Outdated
Show resolved
Hide resolved
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.
Functions fine without the animation 🚀 🚀
Hello @michael-hawker! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Removes
RangeSelector
's usage of theAnimations
project.PR Type
What kind of change does this PR introduce?
RangeSelector
tooltip, reduce deps forRangeSelector
What is the current behavior?
The
RangeSelector
uses the animations project for a short fad-in fade-out animation for the tool tip.What is the new behavior?
The
RangeSelector
does not use the animations project, and there is no fading for the tooltip.PR Checklist
Please check if your PR fulfills the following requirements:
Other information
No one controls seems to use animations like this.