Shadow shouldn't show through fill color at reduced opacity (zero fill opacity should 'knock out' shadow)
When the fill color opacity is lowered, the shadow should not show through.
The fill opacity is also affecting the shadow's opacity. These controls should be independent of each other.
I have attached a screen shots from xd that shows the issue and a screen shot from sketch that shows the desired result. The circle on both are filled with #ffffff at 50% opacity.
This is something we’d like to get more feedback on.
a) Some apps (such as Adobe Illustrator and InDesign) behave the way XD does now: reducing fill opacity (not overall object opacity) keeps the whole shadow visible but reduces its opacity in proportion with the fill color’s opacity. At zero fill opacity, the shadow is completely gone along with the fill (unless you have a border, in which case you have a thin ring-shaped shadow left).
b) Other apps (such as Photoshop or Sketch) behave differently: reducing fill opacity leaves the shadow’s opacity at full strength, but clips the shadow so you don’t see it through the translucent fill. At zero fill opacity, in the middle of the shape you can see what’s behind it completely unobscured, but outside the shape’s edges you still see the drop shadow at full strength.
Which one do people prefer? Do you need to have both options available?
james guest commented
i design mostly for the web and i believe that clipping the shado is how css handles the box-shadow on a element with less than a 1 opacity. i dont need both since i can replicate the unclipped look with 2 overlapping shapes once you add in blurring on shapes.