We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3769a90 commit 9d6a369Copy full SHA for 9d6a369
example/bad-opacity-example/index.html
intro.js
@@ -636,8 +636,10 @@
636
while (parentElm != null) {
637
if (parentElm.tagName.toLowerCase() === 'body') break;
638
639
+ //fix The Stacking Contenxt problem.
640
+ //More detail: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Understanding_z_index/The_stacking_context
641
var zIndex = _getPropValue(parentElm, 'z-index');
- var opacity = parseFloat(_getPropValue(parentElm, 'opacity'));
642
+ var opacity = parseFloat(_getPropValue(parentElm, 'opacity'));
643
if (/[0-9]+/.test(zIndex) || opacity < 1) {
644
parentElm.className += ' introjs-fixParent';
645
}
0 commit comments