Comfy-Org / Comfy-Org/ComfyUI_frontend
Bug: "Focus Mode(F)" Front-end performance is abnormal
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Prerequisites
- [x] I am running the latest version of ComfyUI
- [x] I have searched existing issues to make sure this isn't a duplicate
- [x] I have tested with all custom nodes disabled ([see how](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled))
### What happened?
In version 1.25, focus mode works correctly when the gallery and command line windows are open.
In version 1.26, the gallery and command line windows cannot be popped back.
Not sure if it's a problem on my machine.
## Video
https://github.com/user-attachments/assets/5bcf3970-17e7-41f4-b499-1240dc367f06
> version: ComfyUI_frontend v1.25.11
https://github.com/user-attachments/assets/8cd66cff-f223-4cc0-8cb1-b92654e99b24
> version: ComfyUI_frontend v1.26.11
### Steps to Reproduce
1. `comfy launch` , Front-end version: 1.26.11
2. Predd keyboard "F" or UI button "💡Focus mode(f)"
### How is this affecting you?
Crashes ComfyUI completely
### ComfyUI Frontend Version
1.26.11
### Browser
Chrome/Chromium
### Console Errors
```javascript
```
### Logs
```shell
```
### Additional Context
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-5658-Bug-Focus-Mode-F-Front-end-performance-is-abnormal-2736d73d3650818f90eddc73b887bc61) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.