redmile
redmile

Reputation: 365

Select2 issue on mobile

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

Upvotes: 1

Views: 2618

Answers (1)

Fabian Horlacher
Fabian Horlacher

Reputation: 1929

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.

Upvotes: 1

Related Questions