-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Expander control makes my app crash #1671
Comments
ping @Odonno |
@Odonno My system information is: |
Assuming my work machine doesn't update overnight, I still have one on 15063, so I can see if I can repro it. |
@michael-hawker Please do. I do not have a machine to reproduce the bug currently. |
I'm seeing a win32 exception when I close the ContentDialog:
However, if I set the Target of the app to just be Anniversary Edition, then I get this message when opening the dialog:
So it does seem like a regression with adding implicit animations to the control on platform which don't support it. @nmetulev I thought the implicit animation XAML was just ignored if running on a lower platform? |
Finally had a chance to try this. It turns out this is a known bug with implicit hide animations in the platform that apparently is fixed in latest insider builds. The workaround is to not use Implicit Hide animations. Since these animations are in the toolkit controls, you can simply override the templates by copying the two styles from here and paste them in your App.xaml. Then just removed the Implicit Hide Animations from the pasted templates (line 492-494 and 500-502). |
I'm submitting a...
Current behavior
When I open a dialog with a Expander control inside, the app crashes suddenly. This has started to happen when I upgraded to v2.1.0. If I downgrade to v.2.0.0, the problem disappear.
Expected behavior
The app doesn't crash.
Minimal reproduction of the problem with instructions
Here is a link with a solution that reproduces the problem.
Environment
The text was updated successfully, but these errors were encountered: