1

I'm encountering exactly this issue on mobile (I've tested on a iPhone 6) with select2

https://github.com/select2/select2/issues/4056

Is there a way to solve it or disable select2 on mobile? Thank You in advance

redmile
  • 315
  • 1
  • 3
  • 13

1 Answers1

1

The bugfix is still pending, so you can either wait for a fix or do it yourself.

To simply disable select2 on mobiles, you have to recognize mobile browsers and only initialize select2 if none was detected.

Community
  • 1
  • 1
Fabian Horlacher
  • 1,778
  • 1
  • 22
  • 31