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

Highlight annotation div can be on top of a textfield #12504

Closed
calixteman opened this issue Oct 21, 2020 · 1 comment
Closed

Highlight annotation div can be on top of a textfield #12504

calixteman opened this issue Oct 21, 2020 · 1 comment

Comments

@calixteman
Copy link
Contributor

Attach (recommended) or Link to PDF file here:
plop.pdf

Here the highlight has two rectangles and only Annotation::Rect is used when creating the div in the annotation layer and so the field is almost unusable.

calixteman added a commit to calixteman/pdf.js that referenced this issue Oct 21, 2020
Fix for issue mozilla#12504.
Highlight annotation may have several rectangles so we must have several divs to add mouse events handlers.
calixteman added a commit to calixteman/pdf.js that referenced this issue Oct 23, 2020
Fix for issue mozilla#12504.
Highlight annotation may have several rectangles so we must have several divs to add mouse events handlers.
@timvandermeij
Copy link
Contributor

Fixed the PR above.

calixteman added a commit to calixteman/pdf.js that referenced this issue Nov 5, 2020
 * remove 1st param of _createPopup (almost useless for a method)
 * prepend popup div to avoid to have them on top of some highlights (and so "disable" partially mouse events)
 * add a ref test for issue mozilla#12504
calixteman added a commit to calixteman/pdf.js that referenced this issue Nov 5, 2020
 * remove 1st param of _createPopup (almost useless for a method)
 * prepend popup div to avoid to have them on top of some highlights (and so "disable" partially mouse events)
 * add a ref test for issue mozilla#12504
calixteman added a commit to calixteman/pdf.js that referenced this issue Nov 5, 2020
 * remove 1st param of _createPopup (almost useless for a method)
 * prepend popup div to avoid to have them on top of some highlights (and so "disable" partially mouse events)
 * add a ref test for issue mozilla#12504
calixteman added a commit to calixteman/pdf.js that referenced this issue Nov 10, 2020
 * remove 1st param of _createPopup (almost useless for a method)
 * prepend popup div to avoid to have them on top of some highlights (and so "disable" partially mouse events)
 * add a ref test for issue mozilla#12504
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants