yourlabs / django-autocomplete-light

A fresh approach to autocomplete implementations, specially for Django. Status: v4 alpha, v3 stable, v2 & v1 deprecated.
https://django-autocomplete-light.readthedocs.io
MIT License
1.81k stars 468 forks source link

Select2 widget is not allowing user to type on IOS device #1291

Open mtzirkel opened 2 years ago

mtzirkel commented 2 years ago

I have a project that has a DAL select2 and it works as intended in multiple browsers on a Ubuntu, macOS, and Google Pixel phone. It does not work on Iphone or Ipad in either Chrome or Safari. When I research this I cannot find any issue with select2 and IOS I cannot find anything beside an issue with select2 not working well in a modal when also using bootstrap. My select2 is not in a modal but I am wondering if this could be a conflict with bootstrap.

Any ideas on how to navigate from here I would appreciate. 69417

mtzirkel commented 2 years ago

This is also happening on Safari on macOS. I was looking at the Devtools on both Safari and Chrome and found that the Role was a button on safari and a combobox on chrome. Any thoughts on a fix for this. I have a feeling this is the core of the issue

klebercode commented 1 year ago

@mtzirkel the problem was on line 128 of autocomplete-light.js. But the problem has already been solved in newer versions like 3.9.7. You can update the version to get this improvement and other features like "create".