# Bug AA-254 - AI result pane buttons end below the window while the error banner shows

Project: Stream Agents & Assistants
Status: new
URL: https://community.openproject.org/work_packages/AA-254

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 18.0.3 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Andreas Eiselt |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Work |  |
| Labor costs |  |

## Description

**Summary**

When an AI text action fails, the error banner raises the minimum height of the result pane. On a pane that was dragged to the bottom of the window, the Discard and Replace buttons end up below the window.

**Steps to reproduce**

1.  Open a work package and run an AI text action in the description editor.
2.  Drag the result pane down to the bottom of the window.
3.  Trigger a failing run, so the error banner shows.

**Actual behavior**

  - The pane keeps its position but grows to 360px, so its bottom ends below the window.
  - The footer buttons cannot be reached.
  - Resizing from the left handle while the error arrives puts the pane back to where the resize started.

**Expected behavior**

The pane moves up as the banner shows and stays inside the window, also while it is being resized.

Follow-up to <mention class="mention" data-id="AA-237" data-type="work_package" data-text="###AA-237">###AA-237</mention>.
