-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] ImageButton.Aspect Property is always Fill on iOS after update to Xamarin.Forms 4.4.0.991265 #9054
Comments
same here. Please fix it |
@samhouts This is also the same on UWP too. Shall I create another ticket? |
@velocitysystems Thanks for the confirmation! We'll just put the UWP label on here. :) |
Image works as a workaround, but it's silly to have this bug for such a long time... |
same here. |
Any chance this could get fixed? It is really really hard to make apps with Xamarin and to take it seriously, as so many of the most primitive controls are broken. So much time is wasted with "what am I doing wrong?", just to find out that it's another regression. |
For now it is better to use a ContentButton like https://gist.github.com/GioviQ/1e73bc6f9df6ddf8f4e52d4ea5c8bac6 |
It's not practical to go over all controls and replace them. Is this going to be shipped in vNext and what's the ETA please. |
If you look the tree you will see that the fix (#9662) was merged today into forms 4.4.0. So it will be shipped in the next Service Release of 4.4. |
Posting here to mention the same and follow along. This is preventing us from upgrading to 4.5.... which we need to upgrade to eventually given that Apple will stop allowing app submissions prior to 4.5 (because of the UIWebView issue). Do we know if this will get merged into 4.5? |
+1, we definitely need this to be shipped as part of v4.5. |
I would recommend switching for more reliable controls. This is what I used: a label and image and a button all 3 in the same grid/row position |
Any ETA for the upcoming service release? |
Seeing this problem in Xamarin.Forms v4.5.0.356. Tried older versions and what I saw was the following. 4.4.0.991265 - DOES NOT WORK, IMAGE STRETCHED So, as of v4.5.0.356 this was still not fixed. |
The fix has not been released yet. We are waiting for the next service release. |
Not sure how the release cycle works, but I just tested v4.6.0.379-pre1 and the issue appears to still be present there. |
Same here... |
closed by #9662. This should be fixed in 4.4.0 sr6, 4.5.0.495 (sr2), and 4.6.0-pre2. Thanks! |
I verified this is in fact NOT fixed in 4.5.0.495 or the pre-release for 4.6.0. Note the stretched images highlighted in yellow. |
@eekamouse can you attach a repro? I tested with @samhouts zip here And I'm able to see the issue and then I update and the issue goes away |
Sorry the above isn't better formatted, but I have multiple examples like that where we have images in a TitleView that are skewed that look fine on UWP and Android... and were working on iOS on Xamarin 4.3. |
I messed around with padding today and it doesn't seem to do anything but make it worse (and make it look funky on Android and UWP). It might be because our images are in a TitleView. |
I updated and tested today with XF 4.4.0.991864. It's working fine. |
I had tested v4.5.0.356 and it did not work in that version. |
Not tested with 4.5, but it's strange. Xamarin must work on the stability of their releases. |
I have tested v4.5.0.617 and it works fine. |
I can confirm it works on 4.5.0.617. |
Description
After update to Xamarin.Forms 4.4.0.991265, ImageButton.Aspect Property is always Fill on iOS even if it is set to AspectFit. It worked correctly before I updated to 4.4.0.991265 from 4.3.0.991250. This issue does not occur on Android.
Steps to Reproduce
Expected Behavior
Images of ImageButton displays as AspectFit.
Actual Behavior
Images of ImageButton displays as Fill. See Screenshots.
Basic Information
Screenshots
These screenshots were taken on iPhone 4S - iOS 9.3.6.
Reproduction Link
https://gist.github.com/Soushi-Atsumi/0e79c20574f517008f83c1bf1f3aa8f6
The text was updated successfully, but these errors were encountered: