Open
Description
Environments
- Framework name: Vue
- Framework version: 2.6.13
- Moveable Component version: 0.27.2 moveable
- Testable Address(optional):
Description
Hi @daybrush ,
When use snappable property, dragging moveable element appear virtual line shadow, after a few seconds disappear,
but i don't know why, please give me a help......
The following is my moveable config:
this.moveable = new Moveable(this.canvasViewer.getViewport(), {
draggable: true,
resizable: false,
keepRatio: false,
origin: false,
throttleDrag: 0,
throttleResize: 0,
snappable: true,
horizontalGuidelines: this.horizontalGuides?.getGuides(),
verticalGuidelines: this.verticalGuides?.getGuides(),
snapThreshold: 5,
isDisplaySnapDigit: true,
snapGap: true,
snapDirections: { left: true, top: true, right: true, bottom: true, center: true, middle: true },
elementSnapDirections: { left: true, top: true, right: true, bottom: true, center: true, middle: true },
elementGuidelines: [],
snapDigit: 0,
}).on('clickGroup', (e: OnClickGroup) => this.onClickGroup(e))
.on('dragStart', (e: OnDragStart) => this.onDragStart(e))
.on('drag', (e: OnDrag) => this.onDrag(e))
.on('dragEnd', (e: OnDragEnd) => this.onDragEnd(e))
The phenomenon of my situation...