fix(ios): consistent box-shadow radius blur#10583
fix(ios): consistent box-shadow radius blur#10583SeanKelly369 wants to merge 1 commit intoNativeScript:mainfrom
Conversation
|
This would be considered a breaking change mainly because an app may quite drastically change it's visual appearance with this change - to many in unexpected way, however it's a welcome change but it would be considered a breaking change and would need to go into a minor release likely (vs a patch). |
|
Possible to post a quick screenshot of iOS/Android side by side on this? |
|
@NathanWalker sure thing. Take a look at the red box shadow at the bottom. This is how it looks on Android: This is how it looks on an iPhone 15 after the changes: This is how it currently looks on an iPhone 15 in production: |
|
It's worth considering whether we should value native look-and-feel over cross-platform consistency or not. If we had to do such a calibration, I think android should match the iOS look 'n feel and not vice-versa. |
|
@SeanKelly369 I noticed some designers divide blur by screen scale. |
|
@coderabbitai please review this PR |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chainI'll help you review this PR. Let me gather the necessary information about the changes and provide a comprehensive review. 🏁 Script executed: Length of output: 3760 🏁 Script executed: Length of output: 9830 🏁 Script executed: Length of output: 37054 @shiv19 I've reviewed this PR and have several observations and recommendations: 🎯 Review SummaryThis PR addresses a legitimate cross-platform inconsistency in box-shadow rendering, but there are important considerations around breaking changes, technical approach, and consistency. ✅ Positive Aspects
|



The radius blurring has been adjusted in iOS to match that in Android
PR Checklist
What is the current behavior?
The box-shadow radius amount differs in iOS compared to Android
What is the new behavior?
The box-shadow radius amount in iOS matches Android
BREAKING CHANGES: none