Question T17967
Visible to All Users

Any question type that uses a drop down does not display on mobile correctly.

created 9 months ago

Hi,

We are currently using Creator V1 and on version 1.9.115. On mobile devices, dropdown questions display like this:
IMG_8205.png

This is a view from a mobile device. The question with the title State should display a list of states. All the user can see is the Cancel button and is unable to select a state. A simple fix seems to be to add

JSON
renderAs: "select"

to the survey definition. This does fix the issue but what I'd like to know is if there is a way to set that setting in the Survey object? I've looked at https://surveyjs.answerdesk.io/ticket/details/t12934 and that seems to be a solution for Creator V2 but we are on Creator V1. I have tried something like:

JavaScript
Survey.Serializer.getProperty('dropdown', 'renderAs').defaultValue = 'select';

But that did not get the dropdowns working on mobile. Would you have any other suggestion?

Best,
Skip

Comments (3)

    Hello Skip,
    Could you please to try the latest version of SurveyJS Library? You can have SuveyJS Creator V1 in your admin part, even your old version and run the latest version of SurveyJS library for you survey end-users.
    In the latest version, dropdown should be shown in the separate window in mobile devices.

    Thank you,
    Andrew
    SurveyJS Team

      Hi Andrew,
      Thank you for the response. The reason that I stopped at 1.9.115 is the work done in 1.9.116 to make the signaturepad more reactive breaks the display in our application.
      Clipboard-File-1.png

      It seems that the canvas for the signature does not get included in the overall dimensions of the question. I am still working on a solution for that - especially since I can not recreate the issue with your online version of the creator.

      Best,
      Skip

        Hello Skip,
        It is better to migrate into V2 since we don't do any active development in V1 for over a year now. We work hard on V2 and add improvements into it all the time.
        As I wrote, if you have different applications or even app for your admin part and your survey runner then you can use different versions for them.
        Survey runner v1.10.2 will be able to run JSON created by any versions SurveyJS Creator till first versions we release 6-7 years ago.

        Thank you,
        Andrew
        SurveyJS Team