Selected value not shown, when keyboard has suggestion strip enabled on Android
See original GitHub issueDescribe the bug When searching and selecting a value from an ng-select input, the selected value is not shown in the input. This happens only on Android, when the virtual keyboard has suggestion strip on.
To Reproduce Steps to reproduce the behavior:
- Go to ng-select demo page
- Click on the select under Backend data with async pipe
- Write for example “me”
- Click “Mendoza Ruiz”
- See empty select input
Expected behavior The selected value is displayed.
Screenshots
Desktop:
- Does not reproduce on desktop
Smartphone:
- Device: Pixel 2
- OS: Android 10
- Browser: Chrome
- Version: 78
- Suggestion strip has to be enabled, for instance on Pixel device in Settings → System → Languages & input → Virtual keyboard → Gboard → Text correction → Show suggestion strip
Additional context
It seems that the compositionstart
event is fired, but a subsequent compositionend
is never fired on the search input, when the option is clicked:
This means, that the internal this._isComposing
flag does not get turned off:
This results in the selected value not being displayed due to:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:15 (5 by maintainers)
Top Results From Across the Web
How to Enable or Disable the Suggestion Strip in the Google ...
Procedure · Tap Apps · Tap Settings · Tap Language & Input · Tap Gboard · Tap Text Correction. Make sure Show suggestion...
Read more >How to Fix Missing Suggestion Strip on Gboard ... - YouTube
How to Fix Missing Suggestion Strip on Gboard(Google keyboard )?Step 1: Tap on 'Settings'.Step 2: Tap on Search box or button on the...
Read more >how to avoid the suggestions of keyboard for android in react ...
Your next best option is to go down that list of input types and try every single one until you find one that...
Read more >Integrate autofill with keyboards - Android Developers
Beginning in Android 11, keyboards and other input-method editors (IMEs) can display autofill suggestions inline, in a suggestion strip or something similar ...
Read more >How do I remove the prediction bar from SwiftKey? [You can't]
I do not want any suggestions. please tell me how to remove these? ... remove the annoying box that says 'No keyboard language...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you please reopen this? The issue is still valid and there has been activity in this issue since the bot marked this stale.
Hotfix:
<ng-select #select (close)="select.blur()"></ng-select>