Skip to content

Commit 5c6a187

Browse files
committed
refreshing disable-interaction layer on resize window, fixing z-index issue of disable internaction
1 parent 52eeb3d commit 5c6a187

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

intro.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@
429429
// re-align intros
430430
_setHelperLayerPosition.call(this, document.querySelector('.introjs-helperLayer'));
431431
_setHelperLayerPosition.call(this, document.querySelector('.introjs-tooltipReferenceLayer'));
432+
_setHelperLayerPosition.call(this, document.querySelector('.introjs-disableInteraction'));
432433

433434
// re-align tooltip
434435
if(this._currentStep !== undefined && this._currentStep !== null) {

introjs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ tr.introjs-showElement > th {
7171
box-sizing: content-box;
7272
position: absolute;
7373
visibility: hidden;
74-
z-index: 10000000;
74+
z-index: 100000000;
7575
background-color: transparent;
7676
-webkit-transition: all 0.3s ease-out;
7777
-moz-transition: all 0.3s ease-out;

0 commit comments

Comments
 (0)