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
{{ message }}
Repository navigation
Shadow doesn't seem to be dropping on top of cards #647
Here's the setup. The toolbar (top part of the window) is a ColorZone and has ShadowAssist.Depth = Depth2. Looks fine and the shadow is correctly dropped on the scrollviewer's content.
Now if you scroll down a bit, the shadow doesn't drop on top of the underlying card.
I feel like I might be missing something, but not sure what exactly is wrong.
Hi @Tyrrrz
I suspect the problem has to do with the ZOrder of the items. The default values are inferred based on the order in the XAML.
Try putting Panel.ZOrder="1" on the Toolbar ColorZone and Panel.ZOrder="0" on the Video info ScrollViewer and see if that resolves the issue. Alternatively you could reorder those items in the XAML.
@Keboo
Thanks a lot, that did the trick. I never had to deal with layering in XAML, so I didn't know about that.
Also the property name is Panel.ZIndex.
Activity
Keboo commentedon Mar 6, 2017
Hi @Tyrrrz
I suspect the problem has to do with the ZOrder of the items. The default values are inferred based on the order in the XAML.
Try putting
Panel.ZOrder="1"on the Toolbar ColorZone andPanel.ZOrder="0"on the Video info ScrollViewer and see if that resolves the issue. Alternatively you could reorder those items in the XAML.Tyrrrz commentedon Mar 6, 2017
@Keboo
Thanks a lot, that did the trick. I never had to deal with layering in XAML, so I didn't know about that.
Also the property name is
Panel.ZIndex.Keboo commentedon Mar 6, 2017
Ah yes, sorry about that. Glad it worked.