`handleClickOutside` relies on refs to the input element and the picker modal, which are not available when using an individual `input` element.