Comfy-Org / Comfy-Org/ComfyUI_frontend
[Bug]: Note that has focus does not save changes
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Frontend Version
v1.6.5
### Expected Behavior
When I edit a Note and hit reload, after the page reloads, the contents of the Note will remain the same.
### Actual Behavior
The contents of the Note revert back to what was there before I edited the Note.
### Steps to Reproduce
1. Create a Note.
2. Type "First version" into it.
3. Click outside the node to lose focus.
4. Reload the page.
5. Observe the contents still say "First version".
6. Edit the text to say "Second version".
7. **Do not** click outside the node so it remains focused.
8. Reload the page.
9. Observe the contents revert back to "First version".
### Debug Logs
```powershell
N/A
```
### Browser Logs
```
Running on localhost:5173
App.vue:42 ComfyUI Front-end version: 1.6.5
GET http://localhost:5173/api/userdata/comfy.templates.json 404 (Not Found)
```
### Setting JSON
```json
{
"Comfy.DevMode": true,
"Comfy.UseNewMenu": "Top",
"Comfy.Settings.ExtensionPanel": true,
"Comfy.Validation.NodeDefs": true,
"pysssss.SnapToGrid": true,
"Comfy.SnapToGrid.GridSize": 10,
"Comfy.GroupSelectedNodes.Padding": 20,
"Comfy.Graph.CanvasInfo": false,
"Comfy.NodeBadge.NodeSourceBadgeMode": "None",
"Comfy.NodeBadge.NodeIdBadgeMode": "None",
"Comfy.TextareaWidget.FontSize": 16,
"Comfy.LinkRenderMode": 2
}
```
### What browsers do you use to access the UI ?
Google Chrome
### Other
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-2043-Bug-Note-that-has-focus-does-not-save-changes-1666d73d365081a1a1e6dab6ebf5f819) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.