event: rewrite drag handling without jquery 🎆

This commit is contained in:
jean-emmanuel 2018-01-14 23:28:22 +01:00
parent eb51338c31
commit 59c5f4345d
25 changed files with 822 additions and 741 deletions

View file

@ -401,23 +401,13 @@
display: flex;
justify-content: center;
border-radius: inherit;
.handle {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom:0;
z-index: 1;
&.active {
pointer-events: none;
}
}
.fader {
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
pointer-events: none;
.wrapper {
// border: 0;
}

View file

@ -157,17 +157,7 @@
top:0;
left:0;
}
.handle {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom:0;
z-index: 1;
&.active {
pointer-events: none;
}
}
> .pad {
pointer-events: none;
position: absolute;