You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Galaxy S6 with Android 7.1 there is a weird bug: with latest repository with samsung keyboard. with other keyboard like swift it working perfect.
open the sample project.
Remove Line completionView.setPrefix("To: ", Color.parseColor("blue")); in sample Project TokenActivity.java and then run Sample Application.
change defaultObject method in ContactsCompletionView.java @OverRide
protected Person defaultObject(String completionText) {
return new Person(completionText, completionText.replace(" ", ""));
}
change variable initialization of people in TokenActivity.java
people = new Person[]{
new Person("kaushal Prajapati", "kaushalap"),
new Person("dhrumil shah", "dhrumilas"),
new Person("narendra zala", "narendrabz"),
new Person("kirti c", "kirtirc")
};
start typing "nare" .
choose the last item ("narendra zala") .
you see just the new item being added, no text next to it (which is what it should be).
continue typing - write "d"
Expected result: seeing the new item, and only the new text next to it.
Actual result: seeing the new item, and the text "nared" next to it.
It's absolutely keyboard specific, but this appears to be a common keyboard pattern I'm not accounting for correctly. Please keep including notes on which keyboard I need to figure this out for. Stock Android keyboard in the emulator and many custom keyboards don't have this issue.
@jndefosse you're using version 3.0.2? I would not be surprised to discover another edge case where keyboards are doing something unusual, but I'd be extremely surprised if this specific bug is what you're running into. Are you able to reproduce the issue using the example app?
@mgod I download the master yesterday.
When the app started, we have two addresses in the textfield. I types mar, i select the first item in the list and after i type another letter, and it's appear mar + the letter.
Thank you! I'll take a look and see if I can see what's going wrong here, but it might take me a while. I thought I'd done a pretty thorough job on this bug, so my next step might be to build a debug logging system into the library so you can reproduce the bug and send me the exact input logs that happened.
Activity
mgod commentedon Aug 15, 2017
Which keyboard are you using here? These kinds of issues tend to be keyboard specific.
cyroxis commentedon Sep 12, 2017
I'm having the same issue with the stock google keyboard on a Nexus 5X I don't think it is just keyboard specific.
mgod commentedon Sep 18, 2017
It's absolutely keyboard specific, but this appears to be a common keyboard pattern I'm not accounting for correctly. Please keep including notes on which keyboard I need to figure this out for. Stock Android keyboard in the emulator and many custom keyboards don't have this issue.
mgod commentedon Dec 5, 2017
Closed in #333.
jndefosse commentedon Sep 24, 2019
This bug is not resolve.
On samsung J6, we have the same issue with the default keyboard
mgod commentedon Sep 24, 2019
@jndefosse you're using version 3.0.2? I would not be surprised to discover another edge case where keyboards are doing something unusual, but I'd be extremely surprised if this specific bug is what you're running into. Are you able to reproduce the issue using the example app?
jndefosse commentedon Sep 25, 2019
@mgod I download the master yesterday.
When the app started, we have two addresses in the textfield. I types mar, i select the first item in the list and after i type another letter, and it's appear mar + the letter.
mgod commentedon Sep 25, 2019
Thank you! I'll take a look and see if I can see what's going wrong here, but it might take me a while. I thought I'd done a pretty thorough job on this bug, so my next step might be to build a debug logging system into the library so you can reproduce the bug and send me the exact input logs that happened.
jndefosse commentedon Oct 9, 2019
Great.
Notify me when the library is ready
mgod commentedon Aug 3, 2020
I'm pretty sure I found the issue here and plan to include a fix in the 4.0.0 release.