Dynamic sizing of pdfViewer

I have used pdfViewer to display a pdf from an external url, within the App. I want to size the viewer depending on the device dimensions and orientation. To dynamically size the viewer as soon as I make the [original-size] property false, the view itself disappears.It does not take up the size of the container as should have been the case according to the documentation.