The form width changed when an option from DDslick Dropdown widget is selected

  • plungefetish1
    Asked on September 8, 2019 at 6:36 PM

    My form : https://www.jotform.com/92263485568166

    My form is embbeded here https://plungefetish.com/rates.php

    The form works fine in desktop but on my iphone it does not work .   On my iphone when I open up the drop down menu of the DDslick labeled "Airport Transfer" it looks good, but when I make a selection from the drop down menu it makes the entire form stretch out left to right.  

    I've recorded a GIF on my iphone and uploaded it to my site.  You can view it here: 

    https://plungefetish.com/images/4982.gif

    The GIF will show you the problem.

  • David JotForm Support Manager
    Replied on September 8, 2019 at 7:59 PM

    Please try removing this line of code: width:310px!important;

    1567986835bad Screenshot 10

    And use this instead: width: 98% !important

    1567986854good Screenshot 21

    Also, make sure to put the enclosing curly bracket your @media code:

    1567986939close Screenshot 32

    That should prevent the resizing issue in mobile views. Let us know if you need more help, we will be glad to assist you.

  • plungefetish1
    Replied on September 9, 2019 at 1:13 AM

    I made those changes and got the same result as before.  It becomes too big for the screen

  • Nik_C
    Replied on September 9, 2019 at 5:37 AM

    I added this line to your widget's CSS:

    .dd-selected-description-truncated {

        white-space: pre-wrap!important;

    }

    Please check "Airport Transfer" it should be fine.

    Thank you!

  • plungefetish1
    Replied on September 9, 2019 at 7:43 AM

    It is still not working correctly.   I am using an iphone 

  • Welvin Support Team Lead
    Replied on September 9, 2019 at 9:23 AM

    I think you have not added the custom CSS codes. I cannot find that in the form. I've added that for you and checked, all good now. Can you check again to your end to confirm?

  • plungefetish1
    Replied on September 9, 2019 at 4:07 PM

    It is not all good now.  

    When I use the form on my Iphone and select one of the airport transfer options from the airport transfer DDslick all of the fields become elongated and stretch off the screen.  

    Where did you see that it is all good now?

    The problem occurs on the mobile version of the form.

  • Nik_C
    Replied on September 9, 2019 at 4:20 PM

    I tested your form and it's working properly, I tested on iPhone 7:

    The form width changed when an option from DDslick Dropdown widget is selected Image 10

    If the issue persists on your website, please try re-embedding your form.

    Thank you!