Uno.Themes icon indicating copy to clipboard operation
Uno.Themes copied to clipboard

[UWP] Card shadow not displayed on first load

Open vincentcastagna opened this issue 4 years ago • 5 comments

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

uwpshadowfirstload

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 avatar Aug 06 '20 16:08 vincentcastagna

@vincentcastagna is the bug with ElevatedView or in the Card?

MatFillion avatar Aug 06 '20 16:08 MatFillion

@MatFillion what do you mean ? The issue is with the card, I guess maybe with the inner elevatedview in the CardStyle ?

vincentcastagna avatar Aug 06 '20 16:08 vincentcastagna

If you place just a ElevatedView, do you have a similar problem?

MatFillion avatar Aug 06 '20 16:08 MatFillion

@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.

ch9-UWP-shadow

vincentcastagna avatar Aug 12 '20 16:08 vincentcastagna

@kazo0 / @vincentcastagna not sure if this issue is still relevant or related to the Epic Elevation/shadow work @MartinZikmund was working on ?

agneszitte avatar Jan 26 '23 23:01 agneszitte