Skip to content

[Bug]: Floating preview moves to the middle after closing the side panel #6546

Description

@AksharP5

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Open a browser preview in the integrated browser.
  2. Click Float preview over chat.
  3. Open another integrated-browser tab so the side panel appears again.
  4. Close the side panel.
  5. Observe the floating preview.

Expected behavior

The floating preview should stay anchored to the top-right corner when the side panel opens or closes.

Actual behavior

After closing the side panel, the floating preview remains at the position calculated for the narrower layout, leaving it near the middle of the chat.

Impact

Minor bug or occasional failure

Version or commit

T3 Code Nightly 0.0.34_nightly.20260812.1077-1

Environment

Arch Linux / Omarchy

Logs or stack traces

No error is emitted. This is a layout-state bug.

Screenshots, recordings, or supporting files

Floating preview left near the middle after closing the side panel
floating-preview-panel-close-before-omarchy.mp4

Workaround

Close the floating preview.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions