Closed lfoppiano closed 2 months ago
The issue seems to be due to the 'height': 'auto'
which is set when the height is not specified.
The iframe is probably created with height: 0
and, in my hypothesis, the heigh is supposed to be modified when items are added to the DOM.
The PR #38 should have solved this issue.
Check tests in #34, no PDF document is shown if the pdf_viewer is called without any parameters (except the file, indeed)
Another tests, in
lfoppiano/structure-vision
, if you change thepdf_viewer
call as follows: