-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
NextReleasemarked issues will be fixed in next releasemarked issues will be fixed in next release
Description
Moodle Version in use
- Moodle 4.4.9
- Moodle 4.5.6
** Plugin Version **
v1.5.8 (2025032500)
Describe the bug
When using a smartphone in a PDF annotator, and you are in pin mode and put a pin at a spot in the PDF, a console error appears. Sometimes the text editor for the comment appears and sometimes it doesn't. We can't yet discern when.
(It was very hard to scroll from the pin toolbar to the editor spot because there is not much space where you don't scroll the PDF or nothing at all, it seems).
The error:
Uncaught TypeError: Cannot set properties of null (setting 'placeholder')
at openCommentTouchscreen (index.js?ver=00039:6878:38)
at HTMLDocument.handleContentTouchend (index.js?ver=00039:5771:77)
To Reproduce
Steps to reproduce the behavior:
- Create a pdfannotator, settings don't matter
- Using a smartphone, open the pdfannotator
- Activate pin mode
- Touch a spot on the PDF to add a pin.
- The error appears when you "touch up" (lift the finger)
Expected behavior
No console error should be shown, and the comment editor should always show.
Smartphone (please complete the following information):
- Device: Samsung Galaxy S21+
- OS: Android 15
- Browser: Android Chrome
- Version: 140.0.7339.51
Metadata
Metadata
Assignees
Labels
NextReleasemarked issues will be fixed in next releasemarked issues will be fixed in next release
