Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for Safari auto-complete focus loss #24

Merged
merged 1 commit into from Aug 23, 2022

Conversation

lucasnetau
Copy link
Contributor

Input elements in Safari lose focus when the list attribute is added. As a workaround, we set a non-existing dataset id to disable auto-completion instead of removing the attribute. The list attribute is then set from Tagger initialisation.

Fixes #7

… As a workaround, we set a non-existing dataset id to disable auto-completion instead of removing the attribute. The list attribute is then set from Tagger initialisation.
@jcubic
Copy link
Owner

jcubic commented Jul 1, 2022

Thanks for the PR, I need to create a demo website with this so I can test on BrowserStack it may take a while.

@jcubic
Copy link
Owner

jcubic commented Aug 23, 2022

Hey, sorry I've forgotten about your fix. Will check it maybe today and merge it if it works on BrowserStack.

@jcubic
Copy link
Owner

jcubic commented Aug 23, 2022

I think it looks correct.

@jcubic jcubic merged commit e7a66c9 into jcubic:master Aug 23, 2022
@lucasnetau lucasnetau deleted the safari-list-fix branch September 19, 2022 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Safari Loses Focus After 2 Key Presses
2 participants