# Shift + Enter triggers chat auto scroll

**URL:** <https://forum.cursor.com/t/shift-enter-triggers-chat-auto-scroll/140089>\
**Category:** Bug Reports\
**Created:** [October 31, 2025, 1:23am UTC](https://forum.cursor.com/t/shift-enter-triggers-chat-auto-scroll/140089 "2025-10-31T01:23:14Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Igor\_Markin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/igor_markin/32/83495_2.png) [@Igor\_Markin](https://forum.cursor.com/u/Igor_Markin)\
**Post date:** [December 2, 2025, 7:20am UTC](https://forum.cursor.com/t/shift-enter-triggers-chat-auto-scroll/140089/22 "2025-12-02T07:20:37Z")

</div>

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`

```css
"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.

---

<div class="post-metadata">

**Author:** ![Leo\_Mahon](https://avatars.discourse-cdn.com/v4/letter/l/9fc348/32.png) [@Leo\_Mahon](https://forum.cursor.com/u/Leo_Mahon)\
**Post date:** [December 12, 2025, 8:53pm UTC](https://forum.cursor.com/t/shift-enter-triggers-chat-auto-scroll/140089/23 "2025-12-12T20:53:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Igor\_Markin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/igor_markin/32/83495_2.png) [@Igor\_Markin](https://forum.cursor.com/u/Igor_Markin)\
**Post date:** [December 16, 2025, 5:21am UTC](https://forum.cursor.com/t/shift-enter-triggers-chat-auto-scroll/140089/24 "2025-12-16T05:21:29Z")

</div>

To be honest, I canceled my subscription and moved to Windsurf. I’m too tired of the inaction of the Cursor team.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [January 7, 2026, 5:22am UTC](https://forum.cursor.com/t/shift-enter-triggers-chat-auto-scroll/140089/25 "2026-01-07T05:22:01Z")

</div>

Closed on January 7, 2026, 5:22am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.

[Previous page](https://forum.cursor.com/t/shift-enter-triggers-chat-auto-scroll/140089.md?page=1)
