Shift + Enter triggers chat auto scroll

Solution

Since the Cursor team is in no hurry to fix the problem, I had to fix it myself. Now you can do it yourself too.

  1. Install the Custom UI Style extension
  2. Add custom settings to User > settings.json
"custom-ui-style.stylesheet": {
        "div:has(> .composer-messages-container)": {
            "position": "absolute !important",
            "top": "0 !important",
            "left": "50% !important",
            "transform": "translateX(-50%) !important",
            "width": "100% !important",
            "height": "90% !important",
            "max-width": "840px !important"
        }
}

This solution works perfectly in both Editor and Agents modes.

I also have this bug

MacOS 26.1

Cursor:

Version: 2.1.48

VSCode Version: 1.105.1

Commit: ce371ffbf5e240ca47f4b5f3f20efed084991120

Date: 2025-12-04T19:26:27.263Z (1 wk ago)

Electron: 37.7.0

Chromium: 138.0.7204.251

Node.js: 22.20.0

@Igor_Markin your fix works but it creates a new issue where I now can’t scroll all the way to the bottom of the chat because the messages container is absolute positioned on top. If I have time to come up with a patch I’ll post it here. For now I’m dealing with it.