-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Description
When the user refreshes a page with the Monaco Editor (e.g., Edit or Create form) open, the editor gets stuck in a loading state after the refresh.
Screen.Recording.2025-04-03.at.09.27.09.mov
Expected result
The Monaco editor should function correctly after a page refresh and not remain in a loading state.
Actual result
Monaco Editor is stuck in loading state after page refresh.
Steps to reproduce
- Open Monaco Editor (for example open Deployment Create form)
- Refresh the page with form opened
Troubleshooting
When refreshing there is a problem with possibly some race condition in the useGetSchema function. On refresh it is being called from two places (createRoutes and Monaco) at one with the same schemaId
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.