Comments (2)
I just realised that a whole div with edd-* stuff is not added in the mobile version
here's the comparison, the two versions are generated by the very same code
the whole edd-body
div is missing
added desktop version:
<div class="no-margin">
<div class="edd-root" role="widget combobox" aria-haspopup="listbox">
<div class="edd-head" data-ref="head">
<div class="edd-value" data-ref="value"></div>
<div class="edd-arrow" role="presentation"></div>
<select name="title" id="title" class="edd-select" aria-hidden="true">
<option value=""></option>
<option selected="selected" value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Ms">Ms</option>
<option value="Miss">Miss</option>
<option value="Doc">Doc</option>
<option value="Rev">Rev</option>
<option value="Prof">Prof</option>
<option value="C/O">C/O</option>
</select>
</div>
<div class="edd-body edd-body-at-top" data-ref="body" role="listbox" aria-hidden="">
<div class="edd-items-list" data-ref="itemsList">
<div class="edd-group" data-ref="group" role="group">
<div class="edd-option edd-option-selected" data-ref="option item" role="option" title="" aria-selected="true"></div>
<div class="edd-option" data-ref="option item" role="option" title="Mr">Mr</div>
<div class="edd-option" data-ref="option item" role="option" title="Mrs">Mrs</div>
<div class="edd-option" data-ref="option item" role="option" title="Ms">Ms</div>
<div class="edd-option" data-ref="option item" role="option" title="Miss">Miss</div>
<div class="edd-option" data-ref="option item" role="option" title="Doc">Doc</div>
<div class="edd-option" data-ref="option item" role="option" title="Rev">Rev</div>
<div class="edd-option" data-ref="option item" role="option" title="Prof">Prof</div>
<div class="edd-option" data-ref="option item" role="option" title="C/O">C/O</div>
</div>
</div>
<div class="edd-gradient-top" role="presentation"></div>
<div class="edd-gradient-bottom" role="presentation"></div>
</div>
</div>
</div>
added mobile version:
<div class="no-margin">
<div class="edd-root edd-root-native" role="widget combobox" aria-haspopup="listbox">
<div class="edd-head" data-ref="head">
<div class="edd-value" data-ref="value"></div>
<div class="edd-arrow" role="presentation"></div>
<select name="title" id="title" class="edd-select" aria-hidden="true">
<option value=""></option>
<option selected="selected" value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Ms">Ms</option>
<option value="Miss">Miss</option>
<option value="Doc">Doc</option>
<option value="Rev">Rev</option>
<option value="Prof">Prof</option>
<option value="C/O">C/O</option>
</select>
</div>
</div>
</div>
from easydropdown.
setting
useNativeUiOnMobile: false
fixed it, thanks, sorry for the noise
from easydropdown.
Related Issues (20)
- Bug: both of the selects (native and custom) appear on iPad HOT 2
- Plugin API not working on touch devices
- BEM CSS naming convention can be used
- Unexpected keyboard behavior (in relation to `[ Enter ]` / `[ Return ]`): delay and reset of value
- Dependent DropDowns
- FormData disappears when using keyboard to select option
- Webpack resolve error HOT 4
- Bug in Firefox HOT 3
- Bug in firefox HOT 2
- npm package has no styles HOT 3
- Possible to have a closeOnBlur option? HOT 3
- onSelect callback no longer works when openOnFocus is set HOT 1
- onChange event firing even when value is not changed HOT 1
- Different value on dropdown HOT 5
- How to properly add a label? HOT 1
- Select not working on safari. HOT 1
- clampMaxVisibleItems not working with multiline options HOT 1
- Trigger Invalid / Add dynamic classes to edd-head & edd-root HOT 2
- Installing in Rails 5 or 6? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easydropdown.