You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once I switched my app to 5.0 release, I have the following weird issue with Cards.
From @Keboo
So there are a couple things going on there.
The App.xaml is lacking the default resource dictionary so the default styles are not being picked up. This does expose a bit of a problem with the base Card control, but this is also not really a case that is expected to work.
But setting this also doesn't fix it. With 5.0.0 there are two available styles for the Card control. MaterialDesignOutlinedCard and MaterialDesignElevatedCard (the default). It looks like the problem only appears with the MaterialDesignElevatedCard I suspect it is related to the drop shadow, but I will need more time to look into exactly what is causing it. If you need a quick fix, switch to the outline style and you should see it working.
Attached is a minimalist test project. MD_5.0_test.zip
Version
5.0.0
The text was updated successfully, but these errors were encountered:
@Keboo already tested it and it works nicely. There was one other performance issue that was resolved as a result of this fix (was waiting to see it before logging).
Thanks!
Bug explanation
Once I switched my app to 5.0 release, I have the following weird issue with Cards.
![image](https://private-user-images.githubusercontent.com/16761301/314046853-09ec00e5-959d-4edb-9cb0-b187777b6269.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwMzMyNzAsIm5iZiI6MTcxOTAzMjk3MCwicGF0aCI6Ii8xNjc2MTMwMS8zMTQwNDY4NTMtMDllYzAwZTUtOTU5ZC00ZWRiLTljYjAtYjE4Nzc3N2I2MjY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDA1MDkzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjZDhiMTgzMGU5ODYzM2ZmYmVjY2NiYmE4NGU1ZjAyNGUyNDNjMzEzNGVlZWE2MjFlNzNiM2MzZDMxOTYwMzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.aqgl4GhNPRZHZR0lJ9mwt-pJHw0vsmSgxgAm-16LZI0)
From @Keboo
So there are a couple things going on there.
The App.xaml is lacking the default resource dictionary so the default styles are not being picked up. This does expose a bit of a problem with the base Card control, but this is also not really a case that is expected to work.
But setting this also doesn't fix it. With 5.0.0 there are two available styles for the Card control. MaterialDesignOutlinedCard and MaterialDesignElevatedCard (the default). It looks like the problem only appears with the MaterialDesignElevatedCard I suspect it is related to the drop shadow, but I will need more time to look into exactly what is causing it. If you need a quick fix, switch to the outline style and you should see it working.
Attached is a minimalist test project.
MD_5.0_test.zip
Version
5.0.0
The text was updated successfully, but these errors were encountered: