Selectbox on android not working

  • Posted in : Photographer
  • DavidK
    Participant

    Hi, my client tell me, that all selectboxes are not working on android smathphones. Is there an workaround? Thx for help!

    serkan
    Moderator

    Hi, What do you mean by Selectbox? We do not have a select box on demo site like that. If the thing that says is coming with a third party plugin, your client can send the support message to the that plugin’s author.

    DavidK
    Participant

    Hi, yes we customize this template and use <select> boxes (fields), but the template has any functions (maybe javascript?) that change the normal styling and function from a basic html select field. We don’t use any plugin or framework. Its plain html code <select>…</select>.

    Works fine on IOS device, normal PC / Mac and Android tablets, but not on Android smartphones.

    Can you please tell us what happens with the form elements? Which framework change the basic elements?

    Here is a demo for testing:
    https://goo.gl/o1b6dM

    There are 3 select fields all looks great and works fine on other devices but not on android smartphones.

    We have also testet the demo on your website and add an select field on the dev-console, same problem. Works on all devices but not on android smartphones.

    Can you check this please?

    Thank you!

    serkan
    Moderator

    Hi,
    The selectbox is working well on our demo.
    http://themes.pixelwars.org/photographer/form-elements/
    Please be sure that your codes are right and valid.
    Also, can you check if the URL I gave is working properly?
    Thanks

    DavidK
    Participant

    Hi,

    yes, your URL works fine. I have checked the code in the chrome dev tools and the only difference thing i can see is on the created wrapper from uniforms.js.

    If i opened your demosite there is this code:
    “<div class=”selector” id=”uniform-budgetm” style=”width: 332px;”>”

    if i clicked on the field uniform add a class to the field “hover”
    “<div class=”selector hover” id=”uniform-budgetm” style=”width: 332px;”>”

    The same class would be added on uniform.js demo page (http://opensource.audith.org/uniform/#example).

    BUT

    If i opened my clients site there is this code:
    “<div class=”selector” style=”width: 332px;”>”

    if i clicked on the field uniform add a different class to the field “active”
    “<div class=”selector active” style=”width: 332px;”>”

    Maybe this is the problem? But why? We don’t chance anything on the formelements or the uniform framework. The main.js file is also the same like yours.

    We can’t find the problem can you check this?

    Thanks!

    DavidK
    Participant

    Hi,

    now i have tested a separate page-template. Actually the portfolio image is shown on your image.php file. In this file all selectfields are not working. If i use a new page-template with only a select-field like your demo URL, all works fine.

    So the problem is with the construction of image.php? Maybe?

    Please check:

    if you click on a image in a portfolio on frontend (we use the option “Standard” not “Photo Gallery” on every portfolio) and add there a select-field (in image.php) is that working in your demo?

    I have included a php file in image.php for all custom container, content and forms and i find out, if i copy all the code in a new page-template and use the class “row” on any element, the select-fields not work anymore. But if i remove the class all works fine.

    If i copy the hole working code (without “row”-class) back in image.php nothing works. All selectfields have the uniform styling and become the “active” class on click, but nothing happens.

    Any ideas?

    Thanks!

    DavidK
    Participant

    Ok i have found the problem. I have removed the comment-form and now all works fine. I searched the problem in my code, but it’s the template!

    For those who have the same problem, simply disable the comment field.

    Thank you for your support!

    serkan
    Moderator

    Thanks for the feedback. It is useful information for the future.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register