Skip to main content

Fix the shadows problem with Android (compose) in Dev mode


Amr_Mehanna

I have a problem with a shadow that faces the Android engineer when applying the shadow styling

“the shadow modifier is not compatible with this design in Figma”

and the outcome shadow is not the same as the design
Is there any solution or plugin to fix that?

Code

11 replies

y_toku
Figmate
  • Community Support
  • 2490 replies
  • May 7, 2024

Hi there,

Thanks for reaching out. I’m checking with our internal team. I will get back to you when I have anything I can share with you.

Thanks for your patience.
Toku


Amr_Mehanna

Waiting for your respond
Thank you


y_toku
Figmate
  • Community Support
  • 2490 replies
  • May 10, 2024

Thanks for your patience. Our product team is checking it, so please hang in tight. Thanks!


David_Nguyen

I’m having the exact same problem.

Was there ever a solution to this?


djv
Figmate
  • Community Support
  • 4774 replies
  • July 30, 2024

Hey All, sorry for the delay!

Our Dev mode team filed a bug for this, but then got busy with other projects surrounding Config 2024. Now that things are slowing down again, they hope to do a deeper dive into fixing this issue.

We appreciate your patience and understanding - stay tuned!


Antonio_Augusto_Furtado_de_Far

Any update regarding this problem?


Taylor_Ling

Hey guys, any updates? I saw the same issue and now most Android team are moving towards Compose, and we need the proper code translation for the dev team.


djv
Figmate
  • Community Support
  • 4774 replies
  • September 18, 2024

Hey All, thanks for your patience!

Our team reported back that Android hasn’t improved the functionality of the .shadow() modifier since we originally filed a ticket, so there is no easy fix yet.

To correctly translate Figma shadows to Android shadows, we would have to build a custom modifier from scratch. This would be a separate package or library that users would install. Instead of .shadown(), users would use .figmaShadow() to replicate the behavior of Figma shadows.

Is this something you’d be interested in?

I’ve updated this topic into a feature request to gauge overall interest from the community. If we get enough votes from dev mode folks, we’ll be able to advocate for the project and team effort it would require to build.


Andrii_Tsymbal

Of course yes!
We (many developers) are waiting on this feature.
Please vote for a post above, it is important!


Amr_Mehanna1

Of course
I think the shadow engine in Figam is different from Android and IOS
You should handle it to match every operating system
@dvaliao


Andrii_Tsymbal

Is there any news guys?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings