[ 
https://issues.apache.org/jira/browse/CB-12826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017082#comment-16017082
 ] 

Mèir Noordermeer commented on CB-12826:
---------------------------------------

We are using version 1.7.2. The app is an Ember app, we use a component that 
opens a link to an external website in the inappbrowser. Basically all the code 
that gets run and is relevant to the inappbrowser is this:

// location is the link to the webpage
var browserWindow = window.open('' + this.get('location'), '_blank', 
'location=yes');
browserWindow.addEventListener('exit', () => this.sendAction('action')); // 
sends an action to the ember app
browserWindow.addEventListener('unload', () => this.sendAction('action')); // 
sends an action to the ember app

The content in the app is dynamically generated by what our clients make 
available in the back-end. There are use-cases in the app where this piece of 
code opens a link in the inappbrowser to a website. On this website there are 
several links to PDFs, when one of these PDFs is opened, the user is unable to 
scroll through the PDF. However when opening the inappbrowser and scrolling 
before clicking on one of the PDF-links, the user is able to scroll through the 
PDF.

I have tried different versions of the inappbrowser, but none seemed to fix the 
issue. I have also tried to run a (dirty) script in the inappbrowser to scroll 
the page by a pixel, but I was not able to get that to work. 

> Unable to scroll when opening PDF on iOS inappbrowser
> -----------------------------------------------------
>
>                 Key: CB-12826
>                 URL: https://issues.apache.org/jira/browse/CB-12826
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-inappbrowser
>         Environment: iOS
>            Reporter: Mèir Noordermeer
>            Priority: Trivial
>
> When an inappbrowser window is opened on iOS and the user clicks on a link to 
> a PDF the user is unable to scroll down on the page. This bug does not occur 
> when the user first scrolls the page before opening the link to the PDF.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to