downshift: Can't unfocus on mobile
react-autocompletelyversion:nodeversion:npm(oryarn) version:
Relevant code or config
https://codesandbox.io/s/9rWEmzEv8
What you did:
Open it on an iPhone, try to press “done”, but it doesn’t dismiss the focusing
What happened:
Input is permanently focused, not even the url bar is accessible. Can get the focus back out of it when pressing refresh only
Reproduction repository:
https://codesandbox.io/s/9rWEmzEv8
Problem description:
Suggested solution:
Allow the input to blur
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 15 (15 by maintainers)
Commits related to this issue
- Fixes https://github.com/paypal/react-autocompletely/issues/32 — committed to dashed/react-autocompletely by dashed 7 years ago
- fix(iOS): Missing fixes in #46 (#50) * Fixes https://github.com/paypal/react-autocompletely/issues/32 * remove moveCursorToTheEnd * remove calls to input.reset() * remove moveCursorToTheEnd ... — committed to downshift-js/downshift by dashed 7 years ago
@kentcdodds I want 🤘
This has been fixed. I’ll push another beta release as soon as I get the rest of the PRs merged.
I will send the PR
@dashed This was the same solution I found so far. I’m studying the rest of the code to understand the reason for moving the cursor to the end
Interesting. I can confirm this issue.
I tested only on real device so I’d say “yes”