-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingfixed-in-8.0.90fixed-in-9.0.0-rc.2.24503.2platform/androidplatform/iost/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
The following image shows how a 24dp black shadow with (0,0) offset renders on Android and iOS compared to Figma (which we can obviously trust 100%).
As you can see, compared to Figma (the expectation)
- Android has a really small shadow
- iOS shadow draws is definitely bigger than the expected size of 24dp
So both of them are just wrong.
Steps to Reproduce
<Grid RowDefinitions="*">
<Border HeightRequest="248"
WidthRequest="248"
VerticalOptions="Center"
HorizontalOptions="Center"
StrokeShape="{RoundRectangle CornerRadius=24}"
Stroke="Black"
Padding="24" />
<Border HeightRequest="200"
WidthRequest="200"
VerticalOptions="Center"
HorizontalOptions="Center"
StrokeShape="{RoundRectangle CornerRadius=24}"
Background="LightGreen"
Shadow="{Shadow Brush=Black, Offset='0,0', Radius=24, Opacity=1}" />
</Grid>Link to public reproduction project repository
No response
Version with bug
8.0.80 SR8
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingfixed-in-8.0.90fixed-in-9.0.0-rc.2.24503.2platform/androidplatform/iost/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done
