Page 1 of 1

Responsive Layout Error

PostPosted: Mon Dec 12, 2016 11:56 pm
by doug
This is the first form I've created with the responsive layout box checked and I get the following error. I downloaded the pdfViewer to test, but haven't even tried using it yet so I don't know why there would be a reference to it when creating the form.

"Unable to get property 'firstElementChild' of undefined or null reference
http://localhost:8080/pdfviewer/pdfView ... .js:6203:5
TypeError: Unable to get property 'firstElementChild' of undefined or null reference"

How do I get rid of this error so I can actually build the form.

Re: Responsive Layout Error

PostPosted: Tue Dec 13, 2016 4:20 am
by doug
Thought I had it figured out, but I'm still getting the same error whenever I try to create a responsive form.

Re: Responsive Layout Error

PostPosted: Thu Dec 15, 2016 5:59 am
by sean
Hi Doug,

Thanks for your interest in the PDF Viewer component.
This is a known issue. It seems that the HTML5-based form editor is getting errors when digesting the internal viewer.js file.
This file is unmodified from the PDF.JS library and we are looking into why this happens.

It should have no effect at runtime, but the only work-around in the IDE right now is to toggle to the classic editor.

Re: Responsive Layout Error

PostPosted: Thu Dec 15, 2016 6:23 pm
by sean
Hi Doug,

This is now fixed in the latest release of the component, which is also available through the Web Package Manager.
Please let me know if there are any other problems.

Also, you can report any future issues directly on the GitHub project's issues tracker.
Then all contributors get an immediate notification and you get faster turn-around ;-)