jquery/jquery-mobile — Issue #2738: Difference in styling between select with and without data-inline="true"
Author: hainesca
Created: 2011-10-18 17:25:00+00:00
State: open

If you have two selects defined as the following:

```html

Placeholder

Test 1

Test 2

```

and

```html

Placeholder

Test 1

Test 2

```

They are styled differently when you open the select menu. In the first case when you click on the select menu, no item is highlighted since nothing is yet selected. In the second case, the first valid option (in this case where value="test1") is highlighted making it appear as if that is the currently selected option. I believe in the second case no highlighting should occur when you first open the select menu unless an item has been selected.