-
Bug
-
Resolution: Fixed
-
Normal
-
9.0.0
-
None
Steps to Reproduce
<zk> <pdfviewer activePage="1" src="example.pdf" width="100%" height="400px"/> </zk>
Current Result
It loads page 1 initially (activePage 0)
Expected Result
It loads page 2 initially (activePage 1)
Debug Information
Both calling setSrc and setContent resets the activePage to 0.
It is okay if the loaded PDF is changed dynamically.
But for initial properties, it shouldn't be reset.
Workaround
Call setActivePage at the end
<pdfviewer src="example.pdf" activePage="1" width="100%" height="400px"/>