Skip to content
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.

iOS Safari: Menu does not open again after selection of an option #360

Open
gweax opened this issue Oct 5, 2018 · 1 comment
Open

iOS Safari: Menu does not open again after selection of an option #360

gweax opened this issue Oct 5, 2018 · 1 comment

Comments

@gweax
Copy link

gweax commented Oct 5, 2018

Steps to reproduce:

  1. In iOS Safari (Simulator is okay, too), go to https://reactcommunity.org/react-autocomplete/static-data/
  2. Tap on the field. The menu opens.
  3. Tap on an option (for example "Maine"). The menu closes.
  4. Tap on the field. The menu does not open again.

To open the menu again, the field has to lose the focus first. When it gains the focus again, the menu opens correctly.

Other browsers (like Chrome on Android) work fine.

@gweax
Copy link
Author

gweax commented Oct 5, 2018

On debugging I noticed that in step 4 of the description above, handleInputClick does not get called. Even an additional event handler set in the dev tools ($0.addEventListener('click', function (e) { console.log(e); });) does not get called. So maybe it's an issue with Safari.

A click on the label works fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant