Has anyone else noticed this? Seems the the Entry fields are smaller on iOS and the only difference is the XF version.
XF 2.3.5 and all previous releases:
XF 2.4.0 Pre 1 and 2
I should also add, scrolling does not work inside the entry box either. When you hit the end of the visible size, you can keep typing, but you cant see what you are typing.
@RaymondKelly - I haven't tried 2.4.0 Pre yet. However, the bit about not scrolling, so that you cannot see what you are typing, would be a regression. I recall raising a bug for that (admittedly for WinPhone) against XF 1.4.3, that was fixed in XF 2.0 .
If you haven't already, post details at https://forums.xamarin.com/categories/xamarin-forms-releases and log a bug.
Thanks @JohnHardman. I am just shocked this hasn't been seen and fixed in Pre-2 as a critical issue.
Any update on this? This really messed up our app. Input boxes used to be roughly the same height on all platforms, but now they look horrible on iOS. The only "fix" is to set HeightRequest to a specific number but that's just a hack.
This has affected numerous Entry fields across our Xamarin Forms app too.
Any update on this please?
The bug report is here: Entry height different between XF 2.4.0 Pre and all previous versions (iOS)
Anyone have a workaround?
@RaymondKelly - I've updated to 2.4.0 and am also seeing the height difference on iOS Entry views. Surprised that this one wasn't picked up pre getting to the stable channel.
I'm also seeing this problem with 22.214.171.1242. Anyone know a work-around without having to manually edit all of my entry controls?
Just add this to ios folder Renderer on IOS.
[assembly: ExportRenderer(typeof(Entry), typeof(CustomRenderer.iOS.CustomEntryRenderer))]
public class CustomEntryRenderer : EntryRenderer
protected override void OnElementChanged(ElementChangedEventArgs e)
if (e.OldElement != null || Element == null)
Element.HeightRequest = 30;
Thanks KingNguyen - that workaround works great.
@KingNguyen is 30 a random number or did that come from somewhere?
Compare with Picker, they have the same height.
the overrided GetDesiredSize in 987 causes the height of the entries to be 15.
While @StephaneDelcroix fix it you can create a render and put the following:
public override SizeRequest GetDesiredSize(double widthConstraint, double heightConstraint)
SizeRequest baseSize = base.GetDesiredSize(widthConstraint, heightConstraint);
if (baseSize.Request.Height < 30)
baseSize.Request = new Size(baseSize.Request.Width, 30);
baseSize.Minimum = new Size(baseSize.Minimum.Width, 30);
Is this problem already fixed? I have still the same problem in version 4.7?
Nope, still broken. I am stuck on XF 2.3.5 because of this.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies