Skip to content
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

Changing view size/layout/position does not update the shadow #24476

Closed
mattleibow opened this issue Aug 27, 2024 · 2 comments · Fixed by #24561
Closed

Changing view size/layout/position does not update the shadow #24476

mattleibow opened this issue Aug 27, 2024 · 2 comments · Fixed by #24561
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing delighter-sc fixed-in-8.0.90 platform/android 🤖 s/triaged Issue has been reviewed t/bug Something isn't working
Milestone

Comments

@mattleibow
Copy link
Member

mattleibow commented Aug 27, 2024

Description

I have some code:

<Border
    Grid.Row="1"
    Grid.ColumnSpan="2"
    VerticalOptions="End"
    Margin="0,0,0,24"
    HeightRequest="52"
    StrokeThickness="0"
    Background="#EEEEEE"
    StrokeShape="RoundRectangle 26"
    MaximumWidthRequest="300"
    HorizontalOptions="Center">
    <Border.Shadow>
        <Shadow
            Offset="0,25"
            Opacity="0.3"
            Radius="25"/>
    </Border.Shadow>

There are some items in the border, and if I change (for example) the HorizontalOptions to Fill or Center, the shadow just moves but n=does not reflect the bounds.

This is noticeable during hot reloading.

However, this appears to be working fine if I change the contents - such as hid/show - or other content things.

Steps to Reproduce

image

image

Link to public reproduction project repository

https://github.com/mattleibow/scorecard-day-nft-marketplace/tree/issues/shadow

Version with bug

9.0.0-preview.7.24407.4

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@mattleibow mattleibow added the t/bug Something isn't working label Aug 27, 2024
@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label Aug 27, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@samhouts samhouts added platform/android 🤖 delighter-sc area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing labels Aug 27, 2024
@PureWeen PureWeen added this to the Backlog milestone Aug 29, 2024
@kubaflo
Copy link
Contributor

kubaflo commented Sep 1, 2024

Hi @mattleibow I think this pr might fix it: #24561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing delighter-sc fixed-in-8.0.90 platform/android 🤖 s/triaged Issue has been reviewed t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants