Need help on "having the suggestion lists open if user click done in iOS virtual keyboard"
See original GitHub issue*Example Basic example.
- Provide the steps to reproduce the issue, e.g.:
- Focus on the input field
- Type
c
, and wait for suggestions to appear - Click
done
after typing dismiss suggestions

Observed behaviour: Suggestions stay open
When done
button is clicked in virtual keyboard, suggestions are dismissed.
Expected behaviour: Suggestions should be closed
When done
button is clicked in virtual keyboard, suggestions are will stay open
- Please describe your use case from user journey point of view, e.g.:
I want to keep the suggestions list open if user click
done
button in iOS virtual keyboard.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:6
Top Results From Across the Web
Type with the onscreen keyboard on iPhone - Apple Support
Enter text using the onscreen keyboard. In any app that allows text editing, open the onscreen keyboard by tapping a text field. Tap...
Read more >Enable text suggestions in Windows - Microsoft Support
Enable text suggestions in Windows · Select it with your mouse, or with touch (if your PC supports it). · Press the Up...
Read more >Fix problems with Gboard - iPhone & iPad - Google Support
If you have issues or privacy concerns with Gboard, try these steps. Important: Gboard is available for iPhones and iPads with iOS 9...
Read more >Links - Usability & Web Accessibility - Yale University
Keyboard -only users press the tab key to navigate through interactive elements like links. As such, it is important that users be able...
Read more >iPad Web App: Detect Virtual Keyboard Using JavaScript in ...
Hm, interesting problem. Try iterating over "window"'s objects on iPad's Safari to see if there are any special objects related to keyboard support....
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 Free
Top 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
same issue in 2020
I’ve been looking for a fix as well. I came up with this work around. Basically if the input is blurred it will never clear out the suggestions unless the input box is empty. Which is also kind of annoying because you can’t close the suggestions unless you clear out the input box. However you could add an X button or something to clear it. I also render the input to select all of the text on focus to easily clear it out with a backspace.
onSuggestionsClearRequested = () => { if(this.state.value.trim() === '') { this.setState({ suggestions: [] }); } };
const inputComponent = inputProps => ( <div> <input {...inputProps} style={{cursor:"pointer"}} onClick={(event) => event.target.select()}/> </div> );