-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(ios): consistent box-shadow radius blur #10583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix(ios): consistent box-shadow radius blur #10583
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