mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
fix(z-index):z-index order (fix #2089)
This commit is contained in:
@ -115,7 +115,7 @@ const parseStackTree = (
|
||||
} else if (order > 0) {
|
||||
let index = 0;
|
||||
parentStack.positiveZIndex.some((current, i) => {
|
||||
if (order > current.element.container.styles.zIndex.order) {
|
||||
if (order >= current.element.container.styles.zIndex.order) {
|
||||
index = i + 1;
|
||||
return false;
|
||||
} else if (index > 0) {
|
||||
|
Reference in New Issue
Block a user