-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Set the different layers order in using a z-index #15861
Comments
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 22, 2022
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 22, 2022
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 26, 2022
…5861) Each layer has an absolute position, hence it induces the creation of some stacking contexts (see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context). Thanks to this feature, we don't have to worry about the z-index used in the annotation layer and how form elements interact with the other layers.
calixteman
added a commit
to calixteman/pdf.js
that referenced
this issue
Dec 26, 2022
…5861) Each layer has an absolute position, hence it induces the creation of some stacking contexts (see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context). Thanks to this feature, we don't have to worry about the z-index used in the annotation layer and how form elements interact with the other layers.
calixteman
added a commit
that referenced
this issue
Dec 26, 2022
Set a z-index for the different layers within a page (fixes #15861)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'd slightly simplify the js code in moving this on the css side.
The text was updated successfully, but these errors were encountered: