Lindsay
Lindsay

Reputation: 127

Can you prevent iPhone from using native select menu?

I have a select menu that has some very long options in it. When viewing the form on the iPhone it uses the native select menu, which cuts off the text of each option. Is there a way to prevent the iPhone from using the native select menu?

I looked into jQuery mobile, but I've built the site on Bootstrap, and they don't play well together. I tried just implementing the form portion of jQuery mobile, but it still caused all sorts of conflicts, so I abandoned that path.

Is there a solution for this problem?

Thank you!

Upvotes: 1

Views: 2896

Answers (1)

Beowolve
Beowolve

Reputation: 558

Here is a solution with a script that replaces a select with a ul list, this is what I use.

Fiddle: http://jsfiddle.net/futgfs10/2/

Upvotes: 4

Related Questions