Describe the bug
The <Window> component emits WindowMoveEvent with event: undefined instead of the original PointerEvent.
dispatchMoveEvent() reads i.event, but i does not contain an event property.
dispatchMoveEvent(t, i, n, h) {
this.$emit(t, {
event: i.event,
drag: n,
end: h,
target: this,
left: this.currentLeft,
top: this.currentTop,
width: this.currentWidth,
height: this.currentHeight
});
},
To Reproduce
<Window
@resize="console.log($event)" <!-- $event.event is undefined -->
@move="console.log($event)" <!-- $event.event is undefined -->
>
</Window>
Describe the bug
The
<Window>component emitsWindowMoveEventwithevent: undefinedinstead of the originalPointerEvent.dispatchMoveEvent()readsi.event, butidoes not contain aneventproperty.To Reproduce