-
Notifications
You must be signed in to change notification settings - Fork 693
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
Flyout shadow display not right while set the CornerRadius #1010
Comments
@h82258652, as the Note on keyboard focus rect and shadow in the Corner Radius How-To document PR states, this isn't really a supported scenario. |
I think it's obvious that ThemeShadow is cheating when it is drawn, but there perhaps could be an alternative type of shadow, which actually either reflects the exact shape of the casting element, or at the very least, uses the CornerRadius to alter the shape of the shadow. |
Thanks for the response. I change my app SDK version from 17763 to 18362 and found this problem. Is any way to solve this problem now? |
@h82258652 , can you tell me your scenario why you are creating a flyout that has such a round shape? Are you trying to make your flyout sized to a content or something? |
@chigy |
@h82258652 , curious... Could you share with us why you want to use the same design with other platforms? I'm not saying it is good or bad, we are trying to understand the cross-platform wishes and desires of developers. For Fluent, we established that app should "feel native to the platform" which makes using the same design across sort of go against that principle. For Windows, we are going with 4px rounded flyouts for more coherent experience at least for now. At this point in time, a solution for you is to either not make your flyout so round or turn off shadow. To turn off shadow, refer to this doc. https://docs.microsoft.com/en-us/windows/uwp/design/layout/depth-shadow#disabling-default-themeshadow-on-custom-flyout-controls |
@h82258652 , as I mentioned, at this point in time, unless you want to make the flyout less rounded, the option is to turn off shadow and I've provided the link above. |
The text was updated successfully, but these errors were encountered: