Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS and Androed onCurrentPageChanged (Number pagenumber) Not fireing #399

Closed
GoogleCodeExporter opened this issue May 10, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.  View a document on IOS or Andriod
2.  Monitor for onCurrentPageChanged event 
3.  Does not fire!

What is the expected output? 

To see the event on CurrentPageChanged fire...


What do you see instead?

Nothing... 


What version of the product are you using? 

2.2.1 FlexPaper_2.2.1_c_customizable

On what operating system?

Debian

Please provide any additional information below.

Original issue reported on code.google.com by andrew.s...@gmail.com on 20 Mar 2014 at 10:07

@GoogleCodeExporter
Copy link
Author

fixed in our upcoming 2.2.4 build. Thanks for reporting! 

Original comment by erik.eng...@gmail.com on 23 Mar 2014 at 11:24

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Hello, 
On iOS, this fixes the problem of not firing event but introduced a new small 
bug:

$(window).on('onCurrentPageChanged', function (e, page_number) {
    console.log(page_number);
});
For example: the PDF has 2 pages, if you click previous button on page 1, you 
can't see any new page but the console.log above will log page_number is 0. 
Similarly, if you click next button on page 2, it will log 3. 
Expected result: page_number should not go out of range 1-2.

Original comment by andrew.s...@gmail.com on 24 Mar 2014 at 9:45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant