summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
authoradrianknight89 <adrianknight89@outlook.com>2016-12-22 18:46:57 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-12-22 18:46:57 (GMT)
commit0c87fcff41bef841f83ef62de5cdc3d821980d33 (patch)
treea0ec542fda6603344b4ee0729a1a8db1e184bfaf /Xamarin.Forms.Platform.iOS
parent9d2290b2ac6753b037edfc9f0b1cfeaa69c5d815 (diff)
downloadxamarin-forms-0c87fcff41bef841f83ef62de5cdc3d821980d33.zip
xamarin-forms-0c87fcff41bef841f83ef62de5cdc3d821980d33.tar.gz
xamarin-forms-0c87fcff41bef841f83ef62de5cdc3d821980d33.tar.bz2
[iOS] Entry should not pass a newline to the next responder (#397)
* UITextField should not return so that the next field does not get passed a newline * Added code sample
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs
index e4536cf..a50a4e7 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/EntryRenderer.cs
@@ -124,7 +124,7 @@ namespace Xamarin.Forms.Platform.iOS
{
Control.ResignFirstResponder();
((IEntryController)Element).SendCompleted();
- return true;
+ return false;
}
void UpdateAlignment()