<!-- Welcome! Thank you for contributing. These HTML comments will not render in the issue. Before creating a new issue: * Search for relevant issues * Follow the issue reporting guidelines: https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html --> ## Description When creating files inside a folder, the behavior works correctly for most file types that are created inside the selected folder. However, when creating a TypeScript file via Playground, the file is always created in the root directory instead of the currently selected folder. https://github.com/user-attachments/assets/6c18b197-541d-43a1-8afb-6417f98d28f8 ## Expected behavior The TypeScript file should be created inside the currently selected folder.
Description
When creating files inside a folder, the behavior works correctly for most file types that are created inside the selected folder.
However, when creating a TypeScript file via Playground, the file is always created in the root directory instead of the currently selected folder.
Screen.Recording.2026-04-03.at.3.32.41.AM.mov
Expected behavior
The TypeScript file should be created inside the currently selected folder.