mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	fix: Expand title height of textarea on load (#6103)
This commit is contained in:
		
				
					committed by
					
						
						Pranav Raj S
					
				
			
			
				
	
			
			
			
						parent
						
							78251f54c9
						
					
				
				
					commit
					00eabe07a4
				
			@@ -37,6 +37,13 @@ export default {
 | 
			
		||||
      this.resizeTextarea();
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  mounted() {
 | 
			
		||||
    this.$nextTick(() => {
 | 
			
		||||
      if (this.value) {
 | 
			
		||||
        this.resizeTextarea();
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    resizeTextarea() {
 | 
			
		||||
      if (!this.value) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user