kdv24 Github contribution chart
kdv24 Github Stats
kdv24 Most Used Languages

Activity

20 Nov 2022

Kdv24

Current page keeps changing and resetting on page resize if defaultScale is 'SpecialZoomLevel.PageFit'

We have long pdfs (2000 pages) and for some reason if the defaultScale is set to PageFit, when we resize the browser window the current page input box and the percentage shown will update to different sizes. Resizing the window to its original size will not return to the original page number. I am not seeing this same thing with other defaultScale or with a fixed percent.

@phuocng thank you!

Forked On 20 Nov 2022 at 05:23:50

Kdv24

Thank you @phuocng! That's fabulous! 🎉

Commented On 20 Nov 2022 at 05:23:50

Kdv24

Bookmarks able to remember expanded/collapsed state individually within a session

The use case we have is our pdfs have many nested layers within the bookmarks. If a user expands a number of bookmarks in order to get to one that's nested, it's an unpleasant experience to close the bookmarks then have to go through that same process to get back to the nested content. It seems like it should be possible to tie into the isExpanded or isBookmarkExpanded props and have the state of each tracked individually. I have been unable to do this from my end due to only certain pieces of the API being exposed for us.

Is this an update you can make or am I missing a way we can do this from our end? Thanks again for all your work on this @phuocng!

Forked On 25 Oct 2022 at 02:10:43

Kdv24

That's fantastic! Thank you @phuocng.

Commented On 25 Oct 2022 at 02:10:43

Kdv24

Current page keeps changing and resetting on page resize if defaultScale is 'SpecialZoomLevel.PageFit'

We have long pdfs (2000 pages) and for some reason if the defaultScale is set to PageFit, when we resize the browser window the current page input box and the percentage shown will update to different sizes. Resizing the window to its original size will not return to the original page number. I am not seeing this same thing with other defaultScale or with a fixed percent.

@phuocng thank you!

Forked On 30 Sep 2022 at 08:17:39

Kdv24

Okay. Thanks @aldrichdev. I updated the title. Does anyone know if this is likely to be addressed?

Commented On 30 Sep 2022 at 08:17:39

Kdv24

Current page keeps changing and resetting on page resize if defaultScale is 'PageFit'

We have long pdfs (2000 pages) and for some reason if the defaultScale is set to PageFit, when we resize the browser window the current page input box and the percentage shown will update to different sizes. Resizing the window to its original size will not return to the original page number. I am not seeing this same thing with other defaultScale or with a fixed percent.

@phuocng thank you!

Forked On 22 Sep 2022 at 06:47:52

Kdv24

@phuocng is this something you are working on fixing right now? It feels like a significant issue.

Commented On 22 Sep 2022 at 06:47:52

Kdv24

Current page keeps changing and resetting on page resize if defaultScale is 'PageFit'

We have long pdfs (2000 pages) and for some reason if the defaultScale is set to PageFit, when we resize the browser window the current page input box and the percentage shown will update to different sizes. Resizing the window to its original size will not return to the original page number. I am not seeing this same thing with other defaultScale or with a fixed percent.

@phuocng thank you!

Forked On 15 Sep 2022 at 06:53:44

Kdv24

Yes, @Mohammad-aleik I'm seeing it in vertical scrolling mode. Thanks for clarifying that.

Commented On 15 Sep 2022 at 06:53:44