Have the following markup in my html page to toggle a search bar based on if a search icon is clicked:
<
You can manually adjust delay time to 500ms and 1s.
$(searchWrapper).delay(1000).slideToggle();