Skip to content
New issue

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

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

Already on GitHub? # to your account

Problem in ios zafari #13

Closed
abelperezlindo opened this issue Oct 29, 2021 · 3 comments
Closed

Problem in ios zafari #13

abelperezlindo opened this issue Oct 29, 2021 · 3 comments

Comments

@abelperezlindo
Copy link

problem typing an option in the label field on iphone xr zafari.
I can only type two characters and the search crashes.

@wolffe
Copy link
Owner

wolffe commented Nov 2, 2021

Did you find any solution? I don't think legacy browsers are supported, though.

@wolffe wolffe closed this as completed Nov 2, 2021
@abelperezlindo
Copy link
Author

abelperezlindo commented Nov 2, 2021

I did not find a solution, I just ignore ios devices. works for me. thanks for working on this, tail is nice.

document.addEventListener("DOMContentLoaded", () => {
  if(isIOSDevice()) return;
  tail.select("#", { ... });
});

function isIOSDevice(){
  return /ipad|iphone|ipod/i.test(navigator.userAgent.toLowerCase());
}

@wolffe
Copy link
Owner

wolffe commented Nov 2, 2021

You're welcome and feel free to contribute if you have any ideas or improvements.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants