Comfy-Org / Comfy-Org/ComfyUI_frontend

CLIP Text Encode Bug

Open
#6,091 3 comments 0 reactions 0 assignees View on GitHub
area:nodes area:ui Potential Bug
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?

The text jumps at the beginning when the cursor is outside the node.

### Steps to Reproduce

1. Add a CLIP Text Encode.
2. Put a lot of text so the scroll will appear.
3. Scroll down at the end.
4. Move the cursor outside the node.
5. The node text jumps at the beginning.

### How is this affecting you?

Visual/UI issue only

### ComfyUI Frontend Version

v1.28.7

### Browser

Chrome/Chromium

### Console Errors

```javascript

```

### Logs

```shell

```

### Additional Context

https://github.com/user-attachments/assets/33908abc-050d-4dfa-a576-77820557c637

OS
Windows 11
Python Version
3.12.12 | packaged by conda-forge | (main, Oct 13 2025, 14:23:59) [MSC v.1944 64 bit (AMD64)]
Embedded Python
false
Pytorch Version
2.8.0+cu128
Arguments
main.py --windows-standalone-build --disable-auto-launch --disable-xformers --use-sage-attention --preview-size 320
RAM Total
31.92 GB
RAM Free
10.29 GB
Devices
Name
cuda:0 NVIDIA GeForce RTX 3050 : cudaMallocAsync
Type
cuda
VRAM Total
8 GB
VRAM Free
6.97 GB
Torch VRAM Total
64 MB
Torch VRAM Free
33.9 MB

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6091-CLIP-Text-Encode-Bug-28e6d73d3650819ea5f8efa31a73085f) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.