Bug 37140 - If clicking return on keyboard triggers auto-correct, EditingChanged is not fired
Summary: If clicking return on keyboard triggers auto-correct, EditingChanged is not f...
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 9.4 (iOS 9.2)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-12-18 09:41 UTC by Erkin Yıldız
Modified: 2016-02-08 13:17 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Erkin Yıldız 2015-12-18 09:41:16 UTC
- Create a UITextField.
- Subscribe to EditingChanged event.
- Start typing from keyboard.
- When one of the auto correct suggestions is highlighted click return on the keyboard.
- You will see that the input changed in the UITextField but the EditingChanged event is not fired.

Note: It does get fired if you click on the auto-correct item yourself.

This is probably a bug on iOS side but wanted to make sure here.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2016-02-08 13:17:05 UTC
This is just how iOS behaves.

The UIControlEventEditingChanged event is defined as "A touch making an editing change in a UITextField object.". Selecting an auto correct option is apparently not "a touch". See also this: http://stackoverflow.com/a/15141644/183422