HTML 5 Viewer subreport field overlap

  • dbrajan 4 months ago

    Found an issue in the html viewer when a section report contains a subreport that can grow. A textbox in the subreport is multiline and also can grow. When it grows to 3 or 4 lines of text it starts to overwrite the textbox below it (which is also in the subreport). This issue is only in the viewer – print preview shows correctly with space between the two textboxes. This is version 10 and just confirmed with latest service pack 3. Thanks in advance.

  • 195p
    AbdiasM195p 3 months, 3 weeks ago

    I could reproduce the issue at my end as well by placing two TextBoxes one below the other in a subreport with the CanGrow set to true for the first TextBox. I’ll forward this to the concerned team and will let you know as soon as I have any update on this. Tracking Id – 232966

  • 195p
    AbdiasM195p 3 months, 3 weeks ago

    Turns out the reason for this issue is that Html5 Viewer uses bootstrap and bootstrap css has default line-height for body set to 1.428571429. Hence, the text gets overlapped. Please see following link for more info:

    To fix it just add “line-height: normal;” to the style of the body in the index.html file –

    <body style="line-height: normal;"></body>
  • dbrajan 3 months, 3 weeks ago

    That works. Thank you Abdias!

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

You must be logged in to reply to this topic.