Skip to content

Commit 05af71d

Browse files
committed
Manually setting z-index from Vue
1 parent 513a7e5 commit 05af71d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ripple.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ var Ripple = {
1414
});
1515

1616
var bg = binding.value || Ripple.color || 'rgba(0, 0, 0, 0.35)';
17+
var zIndex = Ripple.zIndex || '9999';
1718

1819
function rippler(event, el) {
1920
var target = el;
@@ -44,7 +45,7 @@ var Ripple = {
4445
ripple.style.borderRadius= '50%';
4546
ripple.style.pointerEvents= 'none';
4647
ripple.style.position= 'relative';
47-
ripple.style.zIndex= '9999';
48+
ripple.style.zIndex= zIndex;
4849
ripple.style.backgroundColor = bg;
4950

5051
//Styles for rippleContainer

0 commit comments

Comments
 (0)