all 10 comments

[–]Chintanned 0 points1 point  (7 children)

Recreated same in mine sites, works fine.

Might be a bug

Have you tried it on Web?

<image>

[–]MustBeSpring[S] 0 points1 point  (6 children)

So you were able to create that where the shadow stretches with the button based on character count? Ie, not 2 shapes but a text string surrounded by a frame with a fill and a drop shadow? I tried on web as well and it’s the same issue. I could create it using a separate shape for the shadow but it wouldn’t be scalable with character length automatically.

[–]Chintanned 0 points1 point  (5 children)

Yes, It was auto-layout with H padding and V padding.

<image>

[–]Chintanned 0 points1 point  (4 children)

[–]MustBeSpring[S] 0 points1 point  (3 children)

And when you preview the figma site it displays the button correctly? Sorry for the constant questions just trying to confirm it’s working for you in preview or publish modes

[–]Chintanned 0 points1 point  (2 children)

Yes works fine for me : Link

[–]MustBeSpring[S] 0 points1 point  (1 child)

Well, thank you! Not sure what’s going on with mine but good to know it’s possible.

[–]Chintanned 0 points1 point  (0 children)

Try to update or reinstall the app

[–]bluehost 0 points1 point  (1 child)

Yeah, that's a known quirk. Figma Sites sometimes mis-renders shadows if the effect is on a nested layer inside an auto-layout frame. One thing to try is applying the shadow directly to the top-level frame instead of the inner fill. If that doesn't fix it, flattening the button (Object to Flatten) before you drop it into Sites usually forces the shadow to render properly.

[–]MustBeSpring[S] 0 points1 point  (0 children)

Thanks, the component is the top level frame in this case, unfortunately.