add autofocus state for example file dropdown