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?
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.
Farhood Kankash commented
Come on! This is almost 2019! U haven't done anything about it? It's A SHAME!
I'd much prefer option B.
Farhood Kankash commented
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
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.
AdminPeter Flynn (Admin, Adobe) commented
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.
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.
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.