Disable dropdown opening on select2 clear
问题 Seems that select2 4 opens by default the dropdown when clearing the current selected item. Previous versions of select2 didn't seem to have that behaviour and I'm trying to achieve it but no luck for now. Does anyone know how to hook into the clear event so we can disable it's default behaviour and clear the selected option without opening the dropdown? Cheers, Al 回答1: Can confirm, preventing events seems to not work for some reason, so you can just close the dropdown after some timeout: $(