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

Form inputs display issues on Safari #2453

Open
lcgiry opened this issue Jul 22, 2024 · 8 comments
Open

Form inputs display issues on Safari #2453

lcgiry opened this issue Jul 22, 2024 · 8 comments
Assignees
Labels

Comments

@lcgiry
Copy link

lcgiry commented Jul 22, 2024

ngx-extended-pdf-viewer version : 18.1.14
Angular version : 15

Hello,

We are experiencing some issue with PDFs containing forms on Safari. When some inputs are filled, their value is not always displayed. When not displayed, resizing the window make the input values blink but they are still invisible when resizing is done.

In the two following screenshots, we used the same ngx-extended-pdf-viewer configuration. On is part of a Material Dialog that opens in full screen, and the malfunctioning one is part of a page.

You can find attached the PDF used for this tests.
Thanks !

    <ngx-extended-pdf-viewer
      [src]="'/assets/Mouvement n°4 - cerfa n°2759-SD.pdf'"
      [disableForms]="true" 
      [showToolbar]="false" [sidebarVisible]="false" [showUnverifiedSignatures]="true" [showBorders]="false" [ignoreKeyboard]="true" [backgroundColor]="undefined" [enableDragAndDrop]="false" [enablePrint]="false" theme="dark">
    </ngx-extended-pdf-viewer>

Nominal behavior
Screenshot 2024-07-22 at 15 52 18

Malfunctioning viewer
Screenshot 2024-07-22 at 15 50 33

Mouvement n°4 - cerfa n°2759-SD.pdf

@stephanrauh stephanrauh self-assigned this Jul 22, 2024
@stephanrauh stephanrauh added the bug Something isn't working label Jul 22, 2024
@stephanrauh
Copy link
Owner

Strange. The forms are displayed correctly on other browsers?

@stephanrauh
Copy link
Owner

And how did you fill the input fields? Via Angular or via user input?

@lcgiry
Copy link
Author

lcgiry commented Jul 23, 2024

Yes, the input fields are displayed properly on every other browser we tested (Firefox, Chrome and Edge).
We filled the inputs using pdf-lib and tried to edit them directly in ngx-extended-pdf-viewer, it doesn't seem to change anything.

@walweh
Copy link

walweh commented Aug 15, 2024

I'm facing the same issue with form fields not displaying properly. Any updates or solutions?"

@stephanrauh
Copy link
Owner

Not yet. Can you give me any hint on how to reproduce the issue?

@walweh
Copy link

walweh commented Aug 16, 2024

  • The issue primarily occurs on the second attempt (for me) to open the PDF in ngx-extended-pdf-viewer.

  • Forms within the PDF are not visible initially, but they can still be filled out.

  • When zooming in, the forms briefly appear but then disappear.

  • When using the pageViewMode set to infinite-scroll, the PDF forms are initially visible upon opening the document.

  • However, the issue arises when zooming in: the forms briefly appear but then disappear.

  • This problem does not occur when zooming out; the forms remain visible during zoom-out operations.
    after zooming in, the forms appear to go under the document content, becoming invisible but you can still fill them.

also testet it with the document of @lcgiry

I hope it helps a little

@walweh
Copy link

walweh commented Aug 16, 2024

0fcd8966-828e-4242-8240-4d84e3e9f6ee
2f8cc079-1c76-46a0-9a87-e941025e000c

@walweh
Copy link

walweh commented Aug 16, 2024

I moved the layer a bit so you can see what I mean

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

No branches or pull requests

3 participants