# Bug DREAM-1061 - Saving in the main table interrupts editing in an embedded table

Project: Stream Design System
Status: needs review
URL: https://community.openproject.org/work_packages/DREAM-1061

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2026-11-17 – 2026-11-20 |
| Priority | Medium |
| Module | Modules and project features / Work packages, Accessibility, Frontend components and Primer design system |
| Target versions | 18.0.1 |
| Observed in versions | 18.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | Yes |
| Pull preview |  |
| List | a11y report 2026 |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Henriette Darge |
| Accountable |  |
| Product manager |  |
| Developers | Alexander Coles |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Work package **A** is editable in the main table.
    
2.  Work package **B** has an embedded work package table in its details view, containing editable work package **C**.
    
3.  Open B’s details panel alongside the main table.
    
4.  Set network throttling to **3G**.
    
5.  Click directly on A’s Subject text, change it and press **Enter**. Keep B’s details panel open.
    
6.  While A’s save is pending, open C’s Subject editor in the embedded table and type an unsaved draft.
    
7.  Wait for A’s save to finish without moving focus.
    

### What is the buggy behavior?

*   C’s editor becomes inactive and focus moves from its input to the Subject cell, interrupting typing. Pressing **F2** reopens the editor with the unsaved draft preserved.
    

### What is the expected behavior?

1.  Completing A’s save should leave C’s editor active and focused, allowing the user to continue typing
    

### Notes

Fixed by keeping an open text or number editor through a table re-render: the editor moves into the newly rendered cell with its draft, focus and selection. This applies to the main table and every embedded table.

Behavior decisions:

*   This applies to every full re-render of a table, including ones the user starts: after sorting, filtering, regrouping or changing columns, an open editor stays open and moves with its row, as long as the row is still shown. Before, it closed.
    
*   An editor that is open but not focused (for example after tabbing out of it) is kept too.
    
*   Date, progress, select and autocompleter editors still close on a re-render, as before (their date picker, popover or dropdown would be left open without a cell, OP-12264).
    
*   When a re-render no longer shows the edited row (deleted, unlinked, filtered out, or inside a group or parent that is collapsed at that moment), or its column was removed, the editor closes. The draft is kept and the user is not notified. Collapsing a group or parent on its own does not re-render the table: as before, the editor stays open in the hidden row and is there again after expanding.
    
*   No warning while typing when someone else changed the work package; the conflict surfaces on save, as before.
    
*   While an editor in a table has focus, that table does not let a focus request for another row take focus from it. The request is dropped, not served later.
    

Known limits: an IME composition in flight at the instant of the re-render is ended (committed text is kept); a screen reader may announce the field again.

The embedded table still reloads after an unrelated save in the main table. That reload is tracked separately.
