I am trying to open particular folder from a button in react . But every time I use useRef i get the recent visited folder . I am referring the below for my code. https://medium.com/web-dev-survey-from-kyoto/how-to-customize-the-file-upload-button-in-react-b3866a5973d8
Code sample is same as the above link
Is there a way to open particular folder every time and not the last visited folder? Can I modify the input folder field anywhere or is there any other method.. Thanks for your response