-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Description:
When using the coding editor, opening a new solution tab (e.g., Solution 2 or Solution 3) via the “+” button does not start with a clean/default editor state.
Instead, the newly opened solution tab initially contains the code from the previously active solution tab.
Steps to Reproduce:
- Open any problem in the NeetCode coding editor.
- Write code in Solution 1.
- Click the “+” button to create Solution 2 (or Solution 3).
- Observe the editor contents.
Actual Behavior:
- The new solution tab initially shows the code from the previously active solution tab.
- The editor only resets to the default template after navigating back to Solution 1 and then returning to Solution 2.
Expected Behavior:
- Each new solution tab should open with a clean/default editor state immediately, without inheriting code from another solution.
Impact:
- This behavior is confusing and interrupts workflow.
- Requiring users to switch back and forth between tabs just to reset the editor is inconvenient and unintuitive, especially when working with multiple solutions.
Environment:
- Browser: ChatGPT Atlas
- OS: MacOS
Please let me know if a screen recording or additional details would help.
Metadata
Metadata
Assignees
Labels
No labels