scroller: fix interactend call on outside scroller
parent
b5bdc0b0bf
commit
9a6814c0c0
|
@ -15,6 +15,7 @@
|
|||
@touchmove.prevent="touchmove"
|
||||
@touchstart.passive="interactstart"
|
||||
@touchend.passive="interactend"
|
||||
@touchcancel.passive="interactend"
|
||||
>
|
||||
<span
|
||||
class="cursor st"
|
||||
|
@ -29,6 +30,7 @@
|
|||
@touchmove.prevent="touchmove"
|
||||
@touchstart.passive="interactstart"
|
||||
@touchend.passive="interactend"
|
||||
@touchcancel.passive="interactend"
|
||||
>
|
||||
<div class="text">{{ hoverCursorText }}</div>
|
||||
<div class="icon"><ScrollIcon :size="22" /></div>
|
||||
|
@ -425,6 +427,7 @@ export default class ScrollerManager extends Mixins(GlobalMixin) {
|
|||
|
||||
/** Handle mouse leave */
|
||||
private mouseleave() {
|
||||
this.interactend();
|
||||
this.moveHoverCursor(this.cursorY);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue