Open FileDialog.getExistingDirectory from a subdir of root

As part of a Jupyter extension I’m building, I’m using the helper function ‘FileDialog.getExistingDirectory’ (doc) to let the user select a directory. This opens a dialog box, by default, from the root dir of the app.

Is there a way to make this dialog box open from a subdir instead of from the root dir of the app?

I could not find any option for this in the doc of getExistingDirectory or IDirectoryOptions

1 Like

I will answer in Open/limit FileDialog.getExistingDirectory from a subdir of root · Issue #12929 · jupyterlab/jupyterlab · GitHub.

Thanks a ton! I’ll check there.