UNPKG

react-bootstrap-typeahead

Version:
7 lines 183 B
/** * Prevent the main input from blurring when a menu item or the clear button is * clicked. (#226 & #310) */ export default function preventInputBlur(e) { e.preventDefault(); }