Before starting to clean my CSS and JS files, when I opened a select
on my mobile device (Windows Phone with IE) it would open the options on a black screen that overlapped that of the page, and would only disappear later of the option
is selected (or the operation is canceled by the back button).
Something like this:
Butnowithasstoppedworking,andisopeningupinthenormal(andunwanted)way,likethis:
DuringthisprocessIremovedallCSSthatwasnotusedfromapagerunninginthebrowser,IstoppedreferencingJQueryMobile(butitalreadyincludesagainandI'mprettysureitwasnot)p>
Themetaname"viewport"
looks like this:
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
I'm using selectpicker
, and the HTML looks like this:
<label for="Cdiainicio">
<select name="Tdiainicio" id="Cdiainicio" class="selectpicker" data-width="70px">
<?php include $_SERVER['DOCUMENT_ROOT'] . "/models/scripts/datas/combos/combodia.html"?>
</select>
</label>
(I already tried to remove data-width
but did not solve)
In the combodia.html
file are the options:
<option value='dia'>Dia</option>
<option value='01'>1</option>
<option value='02'>2</option>
<option value='03'>3</option>
<option value='04'>4</option>
<option value='05'>5</option>
<option value='06'>6</option>
<option value='07'>7</option>
<option value='08'>8</option>
<option value='09'>9</option>
<option value='10'>10</option>
<option value='11'>11</option>
<option value='12'>12</option>
<option value='13'>13</option>
<option value='14'>14</option>
<option value='15'>15</option>
<option value='16'>16</option>
<option value='17'>17</option>
<option value='18'>18</option>
<option value='19'>19</option>
<option value='20'>20</option>
<option value='21'>21</option>
<option value='22'>22</option>
<option value='23'>23</option>
<option value='24'>24</option>
<option value='25'>25</option>
<option value='26'>26</option>
<option value='27'>27</option>
<option value='28'>28</option>
<option value='29'>29</option>
<option value='30'>30</option>
<option value='31'>31</option>
So what would you like to know how this behavior changes ? Does it have to do with jQuery Mobile? Could it be something in CSS?