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

Mobile keyboard disappears when I try to write text on the PDF #2406

Closed
AndreaZari1 opened this issue Jun 28, 2024 · 6 comments
Closed

Mobile keyboard disappears when I try to write text on the PDF #2406

AndreaZari1 opened this issue Jun 28, 2024 · 6 comments
Assignees
Labels
bug Something isn't working I'd like to help but it's difficult You've raised an issue that's just right - but for some reason, it's hard to solve.

Comments

@AndreaZari1
Copy link

When I try to write on the pdf on mobile using the keyboard, it appears and immediatly goes away so I can't use it at all.

This happens on multiple browsers and multiple devices (tablets).
I can otherwise do everything, like drawing with the pencil.

I attached a video of the bug.
Someone knows what to do in this case?
Thanks

SVID_20240628_174742_1.mp4
@stephanrauh
Copy link
Owner

@AndreaZari1 Does this also happen on https://mozilla.github.io/pdf.js/web/viewer.html?

@calixteman Does this bug ring a bell? Andrea tries to write a text using the text editor on a mobile device, but the keyboard disappears immediately after showing.

@stephanrauh stephanrauh self-assigned this Jun 28, 2024
@stephanrauh stephanrauh added bug Something isn't working I'd like to help but it's difficult You've raised an issue that's just right - but for some reason, it's hard to solve. labels Jun 28, 2024
@calixteman
Copy link

@calixteman Does this bug ring a bell? Andrea tries to write a text using the text editor on a mobile device, but the keyboard disappears immediately after showing.

No. I just tested in Firefox and Chrome on a pixel 7 pro and in both cases it wfm with https://mozilla.github.io/pdf.js/web/viewer.html.
The answer to the question you asked to @AndreaZari1 will very likely help to figure out on which side the problem is.

@AndreaZari1
Copy link
Author

Hi, thank you for replying.
I have the same problem on the link you sent... I both tried on Chrome and firefox. As before, the keyboard appears and then goes away instantly

@stephanrauh
Copy link
Owner

@AndreaZari1 If it also happens on Mozilla's showcase, please file the bug over there (https://github.com/mozilla/pdf.js/issues).

However, I guess it's important you find out how to reproduce the bug. You're already in contact with @calixteman. That should makes things easier, but he tried to reproduce the bug without success - and until he manages, he can't fix the bug.

In the meantime, I'm closing this bug. If it's closed in the base library, the bugfix is included with ngx-extended-pdf-viewer some time later.

@calixteman
Copy link

I can reproduce on Focus but I don't manage to find a USB wire (!!??) to connect my device with the devtools.
I'll try to have a look asap.

@stephanrauh
Copy link
Owner

Drop by - I might have an USB wire, if you need USB C. In any case, I can offer you a coffee! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I'd like to help but it's difficult You've raised an issue that's just right - but for some reason, it's hard to solve.
Projects
None yet
Development

No branches or pull requests

3 participants