I'm trying to build a date picker component which has an <input /> as trigger. After focussing the input field (either through keyboard or mouse), that should open the dropdown. After leaving the [input field/dropdown] I want the dropdown to close. Specifying onBlur on the component doesn't work, as that'll close the dropdown as soon as I start interacting with the content in the dropdown. Any suggestions?