use nextrick with status popover updates
This commit is contained in:
		
							parent
							
								
									81bf18a311
								
							
						
					
					
						commit
						6be625b058
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -42,7 +42,7 @@ const StatusPopover = {
 | 
			
		|||
  watch: {
 | 
			
		||||
    status (newStatus, oldStatus) {
 | 
			
		||||
      if (newStatus !== oldStatus) {
 | 
			
		||||
        this.$refs.popover.updateStyles()
 | 
			
		||||
        this.$nextTick(() => this.$refs.popover.updateStyles())
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue