Question T11046
Visible to All Users

Scrollbar not working after making the cell readonly

created 2 years ago

Hello SurveyJS team,

I have an issue regarding the scrollbar of a cell. When saving the survey, i made all the user answers readonly. In surveyjs when the user inserts a large answer, a vertical scrollbar appears and it's totally logical but the problem when reading a large answer with readonly property set to true, the scrollbar is not working.

Best regards,

Show previous comments (1)
OJ OJ
Oussama Jaouadi 2 years ago

    Hello Jane,

    I think you it's a problem of versions, can you please tell me from which version have you fixed the problem ??

      Hello Oussama,
      You can find the library version in the index.html page of the abovementioned Plunker example: it is v1.9.54. Also, the current version number can be found on the Changelog page.

      Please let me know how it goes.

      OJ OJ
      Oussama Jaouadi 2 years ago

        Hello Jane,

        Yeah i know, thanks for help. I mean can you tell me in which version exactly did you fix the problem of the scrollbar not working in a large text cell.

        Answers

        created 2 years ago (modified 2 years ago)

        Please accept my apologies for misunderstanding.
        I believe it was fixed quite long time ago. I've just checked v1.9.30 and confirmed it works. Let me note that we always recommend staying up-to-date with recent version, if possible.

        Let me also note the Survey.settings.readOnlyCommentRenderMode property. By default, it is set to textarea. You may wish to set it to div to render the readonly comment content in a div element. In div mode, no scrollbars will be required.

        Please let me know if you have any questions or require further assistance.

          Comments (2)
          OJ OJ
          Oussama Jaouadi 2 years ago

            It's okay Jane, thank you for your help, it works.

            Best regards,

              You're always welcome!

              Please feel free to contact us if you have further questions.