|  |  | @ -80,7 +80,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           :editable="editable" |  |  |  |           :editable="editable" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :template="template" |  |  |  |           :template="template" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :is-direct-upload="isDirectUpload" |  |  |  |           :is-direct-upload="isDirectUpload" | 
			
		
	
		
		
			
				
					
					|  |  |  |           @scroll-to="scrollIntoDocument(item)" |  |  |  |           @scroll-to="scrollIntoDocument" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           @remove="onDocumentRemove" |  |  |  |           @remove="onDocumentRemove" | 
			
		
	
		
		
			
				
					
					|  |  |  |           @replace="onDocumentReplace" |  |  |  |           @replace="onDocumentReplace" | 
			
		
	
		
		
			
				
					
					|  |  |  |           @up="moveDocument(item, -1)" |  |  |  |           @up="moveDocument(item, -1)" | 
			
		
	
	
		
		
			
				
					|  |  | @ -448,10 +448,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.documentRefs.push(el) |  |  |  |         this.documentRefs.push(el) | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     scrollIntoDocument (item) { |  |  |  |     scrollIntoDocument (item, page) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       const ref = this.documentRefs.find((e) => e.document.uuid === item.attachment_uuid) |  |  |  |       const documentRef = this.documentRefs.find((e) => e.document.uuid === item.attachment_uuid) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |       documentRef.scrollIntoDocument(page) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       ref.$el.scrollIntoView({ behavior: 'smooth', block: 'start' }) |  |  |  |       // pageRef.$el.scrollIntoView({ behavior: 'smooth', block: 'start' }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onKeyUp (e) { |  |  |  |     onKeyUp (e) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (e.code === 'Escape') { |  |  |  |       if (e.code === 'Escape') { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |