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 for Bug 59006 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 24395 [details]
Slightly modified Xamarin.Forms template project
If there are for example two Entry cells inside a TableView, entering text to the first one works as expected. But if you then focus the second Entry and try to enter text to it, the text is entered to the first Entry on Android API >= 24.
Steps to reproduce:
1. Install the attached project (it's the basic Xamarin.Forms template project with modified NewItemPage.xaml)
2. Launch the EntryTest.Droid project on for example Nexus_5X_API_24_x86 (API 24) emulator.
3. Press ADD in the upper right corner.
4. Edit the "Item name" field.
5. Edit the "This is an item description" field.
Actual result: in step 5 text goes to "Item name" field.
Visual Studio for Mac Community 7.1 (build 1297).
Xamarin Forms 220.127.116.116-pre1
Android API 24
This issue does not seem to happen on API version < 24.
For some reasons I seem unable to reproduce this on a Galaxy S8 device which is on 7.0, nor on an API 25 emulator. Entering text into the second field as mentioned saves it accordingly (e.g. the first field being set to "one" and the second to "two" appears to work as expected) Can you confirm that the version on the reproduction is what you're using, or if anything different is possibly causing the behavior?
That's weird. One of my users reported this issue and his running Android 7.0 on HTC One X (HTC Model 10). I'm also able to reproduce this on the Nexus_5X_API_24_x86 emulator that ships with Android SDK (afaik). Would you like a screen cap video of the issue?
It wouldn't hurt for visual confirmation. Also, any other specific emulator configurations or devices that exhibit the behavior are good to know about as well.
Created attachment 25110 [details]
This project reproduces the issue.
Created attachment 25111 [details]
Screen Capture of Issue
This example shows the bug in action on a physical Motorola Moto G4 device running Android 7.0
We have a customer that primarily uses the Moto G4 and this issue is a huge blocker for us. Please see our minimum reproduction and example video above. Let me know if there is any other information I can provide.
*** Bug 60361 has been marked as a duplicate of this bug. ***
We are getting the same issue in Moto G 4 Plus device. Also we get the same issue on other Android device also which has been mentioned in the following bugzilla id https://bugzilla.xamarin.com/show_bug.cgi?id=60361
Please let us know whether you can replicate this.
Any update on this issue?
Your problem seems the same of that bug --> https://bugzilla.xamarin.com/show_bug.cgi?id=35058#c2
Android pass trought many Layout cycles that messed up evrything... i'm trying to find a final solution too... If your problem is only the focus i think you can create a custom renderer for your entry like the code below (ExtendedEntry is my custom entry):
protected override void OnElementChanged(ElementChangedEventArgs<Entry> e)
ExtendedEntry baseEntry = Element as ExtendedEntry;
if (e.OldElement == null)