-
Notifications
You must be signed in to change notification settings - Fork 706
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
Fix TeachingTip getting stuck closed #6541
Conversation
…void getting into a state where the tip isn't being displaced despite IsOpen being true.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…is not interactable.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@StephenLPeters Can we expect this to land in WinAppSDK 1.1 ?
What do you mean by programmatically close? I don't see any other API to close a teaching tip. Or is it a note to self? Also, I don't think as an end user of the API we can figure out that the animation is still active. |
@ranjeshj can you weigh in on timeline @harvinders detecting when you are in this state would be challenging, but if you could you can fix the state by setting is open to false programmatically. With this change that is no longer necessary. |
It was possible to set a teaching tip's IsOpen property to true while the closing animation is playing. This could cause the teaching tip to get in a state where IsOpen is true but it isn't displayed on screen. To work around this you would need to programmatically close and then reopen the tip. To fix this we can ignore IsOpen property changes while there are active animations.