Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 13762 [details]
Sample App - BlankProject.zip
Appears that when using a ListView with multiple Entry fields, the Listview scrolling and reuse can jumble up the Keyboard types.
Screencast - *See Private Comment Below*
Sample App - *Attached Above* BlankApp.zip
Code Snip - https://gist.github.com/mattregul/c84ce11ee9996aa514b9#file-keyboard-xaml
**Steps to Reproduce:**
Run the Sample App - *Attached Above* BlankApp.zip
Scroll down to Keyboard in the MasterDetail menu
Scroll up and down on the page a few times
After Reuse occurs, some of the entry fields will produce the wrong keyboard type
At times the wrong keyboard type is displayed for the entry field
ex: Email for a normal Text field.
Correct keyboard type every time
**Build Date & Platform:**
Build Versions - https://gist.github.com/mattregul/c84ce11ee9996aa514b9#file-customer-details-txt
There's a workaround. Put the follwing in a custom renderer's OnElementChanged
var viewKeyboard = e.NewElement.Keyboard;
Control.AutocorrectionType = viewKeyboard == Keyboard.Text ? UITextAutocorrectionType.Default : UITextAutocorrectionType.No;
if (viewKeyboard == Keyboard.Email)
Control.KeyboardType = UIKeyboardType.EmailAddress;
else if (viewKeyboard == Keyboard.Numeric)
Control.KeyboardType = UIKeyboardType.NumberPad;
else if (viewKeyboard == Keyboard.Telephone)
Control.KeyboardType = UIKeyboardType.PhonePad;
else if (viewKeyboard == Keyboard.Url)
Control.KeyboardType = UIKeyboardType.Url;
Control.KeyboardType = UIKeyboardType.Default;
Hi Christian, thank you for your attention.
Your workaround works perfectly.
I'm not able to reproduce this on iOS using 188.8.131.529-pre2