Fix zIndex value

This commit is contained in:
Niklas von Hertzen 2017-08-10 23:24:38 +08:00
parent 1c318ab607
commit eb380f023f

View File

@ -122,7 +122,7 @@ export default class NodeContainer {
textTransform: parseTextTransform(style.textTransform),
transform: parseTransform(style),
visibility: parseVisibility(style.visibility),
zIndex: position !== POSITION.STATIC ? parseZIndex(style.zIndex) : 0
zIndex: parseZIndex(position !== POSITION.STATIC ? style.zIndex : 'auto')
};
if (this.isTransformed()) {