Skip to content

Commit aacb83c

Browse files
authored
Update config.js
1 parent b43f39d commit aacb83c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/utils/config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,14 @@ const DEFAULTS = {
7676
blankColor: 'transparent'
7777
},
7878
BModal: {
79-
// Defaults to the Boostrap default for the modal backdrop
79+
// Defaults to the Boostrap default of the modal backdrop
8080
zIndexOffset: 1040,
81+
// The following needs to be higher than the largest z-index element
82+
// inside the modal (such has popovers and tooltips).
83+
// The modal's stacking div z-index will be set to:
84+
// zIndexOffset + ((NumModalsOpened - 1) * zIndexIncrement)
85+
zIndexIncrement: 2000,
86+
// Props defaults
8187
cancelTitle: 'Cancel',
8288
cancelVariant: 'secondary',
8389
okTitle: 'OK',

0 commit comments

Comments
 (0)