mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-30 18:47:51 +00:00 
			
		
		
		
	fix: Accidental contact creation on country dropdown toggle (#11494)
This commit is contained in:
		| @@ -81,6 +81,7 @@ onMounted(() => { | ||||
|     <button | ||||
|       v-for="(item, index) in filteredMenuItems" | ||||
|       :key="index" | ||||
|       type="button" | ||||
|       class="inline-flex items-center justify-start w-full h-8 min-w-0 gap-2 px-2 py-1.5 transition-all duration-200 ease-in-out border-0 rounded-lg z-60 hover:bg-n-alpha-1 dark:hover:bg-n-alpha-2 disabled:cursor-not-allowed disabled:pointer-events-none disabled:opacity-50" | ||||
|       :class="{ | ||||
|         'bg-n-alpha-1 dark:bg-n-solid-active': item.isSelected, | ||||
|   | ||||
| @@ -185,6 +185,7 @@ watch( | ||||
|               " | ||||
|               trailing-icon | ||||
|               :disabled="disabled" | ||||
|               type="button" | ||||
|               class="!h-[1.875rem] top-1 ltr:ml-px rtl:mr-px !px-2 outline-0 !outline-none !rounded-lg border-0 ltr:!rounded-r-none rtl:!rounded-l-none" | ||||
|               @click="toggleCountryDropdown" | ||||
|             > | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sivin Varghese
					Sivin Varghese