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 .
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.
@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.
Answers
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 2.4.0.282. Anyone know a work-around without having to manually edit all of my entry controls?
Just add this to ios folder Renderer on IOS.
`using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ExportRenderer(typeof(Entry), typeof(CustomRenderer.iOS.CustomEntryRenderer))]
namespace CustomRenderer.iOS
{
public class CustomEntryRenderer : EntryRenderer
{
protected override void OnElementChanged(ElementChangedEventArgs e)
{
base.OnElementChanged(e);
}`
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:
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.
I am shocked this is still not resolved. Does anyone else use entry boxes on iOS??