Not possible to click on any of the links in Preview Pdf

Hi Team,
We are trying to open a pdf from an external link example

js function before Preview Pdf block creates pdf url based on language and supplies it to Preview Pdf.
Pdf loads correctly in the app but we are not able to click on any of the links that are embedded in pdf

Is this the expected behavior or is there any other way we can enable clicking inside the preview pdf modal?