Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Mobile safari issues #875

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

nigelbyrne82
Copy link

Fixes for setting focus and showing suggestions from AJAX request

Change of keydown event handler to a keyup event handler due to issues with mobile Safari not displaying the suggestion list loaded from AJAX request.
Cause being the keydown event fires before the character is entered into the input and so the AJAX response query differs from the input term when processing the AJAX response.
Mobile Safari stops focus being set when outside a user event, hence when set from inside the setTimeout function, it fails to set the focus
@loopj loopj force-pushed the master branch 2 times, most recently from fd2316b to 8a8390e Compare August 3, 2023 06:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant