|  | @@ -62,6 +62,7 @@ export default {
 | 
	
		
			
				|  |  |    name: 'VideoPreview',
 | 
	
		
			
				|  |  |    components: { VideoPlay },
 | 
	
		
			
				|  |  |    mixins: [PreviewMixin],
 | 
	
		
			
				|  |  | +  inject: ['getDragStatus'],
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  |        data: getVideoData(),
 | 
	
	
		
			
				|  | @@ -110,9 +111,12 @@ export default {
 | 
	
		
			
				|  |  |        if (!canvasElement) return;
 | 
	
		
			
				|  |  |        const instanceName = `observer_${this.elementID}`;
 | 
	
		
			
				|  |  |        this.observersMap[instanceName] = new ResizeObserver((entries) => {
 | 
	
		
			
				|  |  | +        if (!this.getDragStatus()) return;
 | 
	
		
			
				|  |  |          for (let entry of entries) {
 | 
	
		
			
				|  |  | -          this.elementWidth = entry.contentRect.width;
 | 
	
		
			
				|  |  | -          this.elementHeight = entry.contentRect.height;
 | 
	
		
			
				|  |  | +          window.requestAnimationFrame(() => {
 | 
	
		
			
				|  |  | +            this.elementWidth = entry.contentRect.width;
 | 
	
		
			
				|  |  | +            this.elementHeight = entry.contentRect.height;
 | 
	
		
			
				|  |  | +          });
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |        this.observersMap[instanceName].observe(this.$el);
 |