Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix(events): use lower z-index to prevent conflict with mdDialog

Closes #264
  • Loading branch information...
Matt Lewis
Matt Lewis committed Jan 22, 2016
1 parent 0c617e8 commit 5ef9369efc0ecb5f8fb8e3bd805e8b64a1b54851
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/directives/mwlDraggable.js
  2. +1 −1 src/less/month.less
  3. +1 −1 test/unit/directives/mwlDraggable.spec.js
@@ -84,7 +84,7 @@ angular
}

translateElement(elm, 'translate(' + x + 'px, ' + y + 'px)')
.css('z-index', 1000)
.css('z-index', 50)
.attr('data-x', x)
.attr('data-y', y);

@@ -92,7 +92,7 @@
position: absolute;
bottom: 0;
left: 0;
z-index: 1000;
z-index: 50;
}
.cal-slide-content ul.unstyled {
margin-bottom: 0;
@@ -90,7 +90,7 @@ describe('mwlDraggable directive', function() {

draggableOptions.onstart(event);
draggableOptions.onmove(event);
expect(angular.element(event.target).css('z-index')).to.equal('1000');
expect(angular.element(event.target).css('z-index')).to.equal('50');
expect(angular.element(event.target).attr('data-y')).to.equal('30');
expect(angular.element(event.target).attr('data-x')).to.equal('0');
expect(scope.onDrag).to.have.been.calledWith(0, 1);

0 comments on commit 5ef9369

Please sign in to comment.
You can’t perform that action at this time.