mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	enhancement: Remove clickaway for expanded reply box (#4414)
* enhancement: Remove clickaway for expanded reply box * Removes unused imports Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							a6b119d187
						
					
				
				
					commit
					d4be268cc3
				
			@@ -83,7 +83,6 @@
 | 
				
			|||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
      <reply-box
 | 
					      <reply-box
 | 
				
			||||||
        v-on-clickaway="closePopoutReplyBox"
 | 
					 | 
				
			||||||
        :conversation-id="currentChat.id"
 | 
					        :conversation-id="currentChat.id"
 | 
				
			||||||
        :is-a-tweet="isATweet"
 | 
					        :is-a-tweet="isATweet"
 | 
				
			||||||
        :selected-tweet="selectedTweet"
 | 
					        :selected-tweet="selectedTweet"
 | 
				
			||||||
@@ -109,7 +108,6 @@ import inboxMixin from 'shared/mixins/inboxMixin';
 | 
				
			|||||||
import { calculateScrollTop } from './helpers/scrollTopCalculationHelper';
 | 
					import { calculateScrollTop } from './helpers/scrollTopCalculationHelper';
 | 
				
			||||||
import { isEscape } from 'shared/helpers/KeyboardHelpers';
 | 
					import { isEscape } from 'shared/helpers/KeyboardHelpers';
 | 
				
			||||||
import eventListenerMixins from 'shared/mixins/eventListenerMixins';
 | 
					import eventListenerMixins from 'shared/mixins/eventListenerMixins';
 | 
				
			||||||
import { mixin as clickaway } from 'vue-clickaway';
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  components: {
 | 
					  components: {
 | 
				
			||||||
@@ -117,7 +115,7 @@ export default {
 | 
				
			|||||||
    ReplyBox,
 | 
					    ReplyBox,
 | 
				
			||||||
    Banner,
 | 
					    Banner,
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  mixins: [conversationMixin, inboxMixin, eventListenerMixins, clickaway],
 | 
					  mixins: [conversationMixin, inboxMixin, eventListenerMixins],
 | 
				
			||||||
  props: {
 | 
					  props: {
 | 
				
			||||||
    isContactPanelOpen: {
 | 
					    isContactPanelOpen: {
 | 
				
			||||||
      type: Boolean,
 | 
					      type: Boolean,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user