-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix crash creating native image of size 0,0 #15828
Conversation
Fixes bug appeared on iOS 17 crash creating native image of zero size when linear gradient is set for button at app startup
+1 having this recent issue, would be really neat if this PR was merged |
meanwhile you can use a use a custom renderer that would call the fixed extension. here is one for a
|
/azp run |
This comment was marked as outdated.
This comment was marked as outdated.
Thanks so much for taking this up @taublast! |
Azure Pipelines successfully started running 1 pipeline(s). |
Unfortunately this isn't the only control impacted by this issue - I'm getting the same error rendering a BoxView |
@damiannestle you can simply copy the workaround for |
Yes I've done that, although it is not quite so simple - the If there is a simpler way I'd be happy to update my code. It should really be fixed by Microsoft in Xamarin.Forms.Platform.iOS.BrushExtensions.GetBackgroundImage |
@damiannestle do you have some code or reproduction that shows this bug? Could you maybe open a new issue for it so we can track that better separately? |
tried this and it working for my project. Is there will be another release for this @jfversluis ? |
Fixes bug appeared on iOS 17 crash creating native image of zero size when linear gradient is set for button at app startup
Description of Change
Behavioral/Visual Changes
No crash
Before/After Screenshots
on iOS 17 crash creating native image of zero size when linear gradient is set for button at app startup