fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Panel shadows are shorter than the panel itself

Open dagoff opened this issue 8 years ago β€’ 4 comments

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.

image

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.

dagoff avatar Oct 30 '18 00:10 dagoff

Looks really straightforward :)

cliffkoh avatar Oct 30 '18 16:10 cliffkoh

@betrue-final-final do you have any background on why this specific shadow was chosen?

micahgodbolt avatar Oct 30 '18 16:10 micahgodbolt

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.

JasonGore avatar Oct 30 '18 17:10 JasonGore

(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:

msft-github-bot avatar Nov 05 '18 22:11 msft-github-bot