GithubHelp home page GithubHelp logo

Comments (2)

DonGiulio avatar DonGiulio commented on June 3, 2024

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.

DonGiulio avatar DonGiulio commented on June 3, 2024

setting

                 useNativeUiOnMobile: false

fixed it, thanks, sorry for the noise

from easydropdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.