Uno.Themes
Uno.Themes copied to clipboard
[UWP] Card shadow not displayed on first load
Current behavior
- Card shadow is not displayed when first loading the control
Expected behavior
- Card shadow always here
How to reproduce it (as minimally and precisely as possible)
Use Card
control with ElevatedStyle
Environment
Nuget Package:
Uno.Material 1.0.0-dev.468
Package Version(s):
Affected platform(s):
- [ ] iOS
- [ ] Android
- [ ] WebAssembly
- [x] UWP
- [ ] MacOS
Anything else we need to know?
@vincentcastagna is the bug with ElevatedView or in the Card?
@MatFillion what do you mean ? The issue is with the card, I guess maybe with the inner elevatedview in the CardStyle ?
If you place just a ElevatedView, do you have a similar problem?
@agneszitte-nventive I have replaced the card with the old ElevatedView we had before updating to Uno.material, and the behavior is the same. So its definelty something broken with toolkit. But the Title of the issue might not be exact, as I did the assumption it was on the first load but its more random.
See gif attached, we can see that sometimes the shadow disappear and the is re-rendered on another navigation.
@kazo0 / @vincentcastagna not sure if this issue is still relevant or related to the Epic Elevation/shadow work @MartinZikmund was working on ?