Question T6696
Visible to All Users

HTML Question Type Overlaps with Other Questions

created 4 years ago (modified 4 years ago)

In order to fix another issue - that comments that run off the page will be cut off - we converted those questions to HTML Question types on the PDF export.

Now though, we have a new issue. If the answer to HTML questions reaches the last few lines of the page, the next page's content overlaps the previous page.

Attached is an example.

Changing text sizes lessened the issue, but didn't stop it from happening completely. Any help is greatly appreciated.

Comments (2)

    Hello,

    Could you, please, share us a live sample with the issue? So we can investigate it

    Thanks, Alex
    SurveyJS Team

      Hey Alex,

      We had a dev put together a live sample of the issue.

      https://jsfiddle.net/baggy/p0cgtzv3/

      The behavior we are seeing in this PDF still has the overlapping questions issues (which we have fixed on our side with a sort of workaround by adding a new page character to the end of the text).

      When we fixed the issue by putting a new page character, the overlap is fixed, but the page numbering no longer works.

      Thanks for any help you can provide,

      Axel Stenson

      Answers approved by surveyjs Support

      created 4 years ago

      Hello,

      Thank you for the example. Seems your HTML value is too long for one page. You might check similar ticket here. Also you can change render of you simple HTML with text to "standard" render as on screenshot below:

      Clipboard-File-1.png

      Thanks, Alex
      SurveyJS Team

        Comments (1)

          Thank you very much for the feedback. We'll give it a try and see if it solves the issue.