Not able to focus input in react – Javascript
I'm trying to focus an input box that is inside an Antd tab whenever the user clicks this tab (i.e., whenever the input box is visible). I'm using the useImperativeHandle hook to achieve this. parent component const Parent=()=>{ const threadRef=useRef()…