Panel shadows are shorter than the panel itself
Environment Information
- Package version(s): (fill this out)
- Browser and OS versions: (fill this out if relevant)
Please provide a reproduction of the bug in a codepen:
You can see this just by going to https://developer.microsoft.com/en-us/fabric#/components/panel
Actual behavior:
The box-shadow is: -30px 0px 30px -30px
The -30px on the end is making it too short, I think. In the attached image, I've darkened the shadow to make it easier to see. As you can see, it doesn't reach the top.

Expected behavior:
The box-shadow should probably be: 0px 0px 30px 0px
The shadows should stretch all the way to the top and bottom.
Priorities and help requested:
Are you willing to submit a PR to fix? (Yes, No)
Yes
Requested priority: (Blocking, High, Normal, Low)
Low
Products/sites affected: (if applicable)
I've received complaints about it from designers.
Looks really straightforward :)
@betrue-final-final do you have any background on why this specific shadow was chosen?
Just confirmed with @betrue-final-final that this wasn't intentional. It's ok to make this fix assuming Panel's shadowing can continue to be overridden by the styles prop.
(Sorry for this late notification - I was struggling with technical difficulties but that should all be resolved moving forward.)
:tada:This issue was addressed in #6941, which was successfully released as [email protected].:tada:
Handy Links: