Uh oh!
There was an error while loading. Please reload this page.
[WIP] Fix issue where shadows may not appear on views - #1227
[WIP] Fix issue where shadows may not appear on views#1227Liron Yahdav (lyahdav) wants to merge 1 commit into
Conversation
Credit goes to @appden. This isn't ready to commit because NSShadow.shadowBlurRadius is slightly different than CALayer.shadowRadius.
Pull Request Analyser (pull-bot)
commented
Jul 5, 2022
|
Code Analyser (analysis-bot)
commented
Jul 5, 2022
Base commit: 71e8921 |
Saad Najmi (Saadnajmi)
commented
Jul 5, 2022
Thanks! I didn't realize there was a |
Saad Najmi (Saadnajmi)
commented
Jul 21, 2022
Liron Yahdav (@lyahdav) a quick update from our side. We have a bug on our plate to to fix shadows on macOS, but the engineer that's assigned to is on vacation, so we'll revisit once they are back. When I locally tested this, it almost felt like they were two shadows showing up, one from the original iOS layer.shadow* setters, and one from the NSShadow property you added. As for |
Saad Najmi (Saadnajmi)
commented
Aug 9, 2022
From local testing, it seems the shadow on the layer through the props in RCTViewManager is still showing up half the time, so it feels like we have 2 shadows:
Could you instead change the RCTVIewManager macros to |
Liron Yahdav (lyahdav)
commented
Aug 9, 2022
Saad Najmi (@Saadnajmi) I wasn't planning on trying to land this anytime soon, I just made this PR to share WIP. You can make a new PR with your suggested change. |
It seems that issue was fixed in #1352 |
Saad Najmi (Saadnajmi)
commented
Aug 11, 2022
Yep! We needed a little bit of extra code, so do give it a look. |
Credit goes to Scott Kyle (@appden). This isn't ready to commit because NSShadow.shadowBlurRadius is slightly different than CALayer.shadowRadius.
Fixes#824