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?
Ricardo Antonio Cabral commented
I'd prefer if both options were possible, and a simple "Knock out" checkbox to switch the behaviour.
This kind of updates & fixes should be done earlier. Their necessity shouldn't be counted by votes here. This change makes the XD shadow becomes realistic to the industries standards. It must have done earlier. It's a shame that all designs done by XD can't look realistic in shadows cause of this & you that are counting votes to fix this, just shame.
B all the way! As already mentioned, option B gives us an opportunity to recreate option A.
Pater Flynn - any updates on this feature?
Option "b" is what I find myself most often trying to do.
B please. B gives strictly more flexibility. With B, we can recreate A by changing the opacity of both fill and shadow. With A, we can't recreate B.
Come on! This is almost 2019! U haven't done anything about it? It's A SHAME!
I'd much prefer option B.
I prefer B! but if we could have both options would be nice!
David Gross commented
Shadow should be independent of fill. They are separate attributes you can control. In fact, standard rows uses an interior shadow (at y=-1) as a divider between rows...XD cannot do this!!!
Lovechand Shrestha commented
Xavier Aijon commented
Option B, as Photoshop/Sketch please.
I realize this is a year-old thread, but it's still important. At the moment it's impossible to use background blur with shadows, or have a shadowed invisible object.
Leonard Creer commented
Ability to Add Drop shadows on Transparent Shapes / Elements
james guest commented
Is there anything happening with this bug/feature. Until it's fixed background blur on an object with a shadow is unusable.
can it be logged or filed or something?
Isaac Campbell commented
James is right. CSS shadow only shows a shadow around the object, even if the object is transparent. Since XD is for designing web and app experiences, it should act like it would in code. Regardless of that, it still makes more sense to have the shadow only on the outside of the object. Please implement feedback.
What James guest has said I agree with entirely. There is barely ever an instance when where the shadow behind the object is what I need, over just the shadow around the circumference. I can see why this has been implemented, as it is more 'life-like' but in reality it is not needed and quite frankly a messy from an aesthetic perspective. So Photoshop/Sketch for me too.
James: just fyi, XD does support blurring on shapes. Just open the dropdown where it says "Background Blur" and change it to "Object Blur."
Steve O'Connor commented
Def. prefer separate, as with Photoshop / Sketch.
james guest commented
also, i created those examples using the background blur because i think its when using both those effects combined that its most problematic. to show the background blur the front element needs some transparency and if the front element had text as well like a dialog box, i want to have full and seperate control of the shadow opacity and the element opacity.