Skip to content

[Bug]: The model picker drifts upward while it opens #37359

Closed as not planned
Closed as not planned

Description

@tekkusai

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. Start a new conversation.
  2. Click the model selector in the composer.
  3. Watch the top edge of the picker as it fades in.

Expected behavior

The picker appears in its final position and stays there.

Actual behavior

The picker grows from 98% to 100% of its size, anchored at the edge next to the composer. The far edge moves several pixels while the picker fades in. Taller popovers move further, and the direction changes with the side the popover opens on, so it looks different from place to place.

In my app it is most noticeable when starting a new conversation, where the picker opens over the empty space above the composer.

I measured it in a browser test that renders the full app with the fake environment. The 393px picker's top edge moved from 451.9px to 444.0px over about 150ms in an active thread, and from 77.7px to 69.8px in a new draft. The trigger, composer and positioner did not move. Only the popup's scale changed.

The cause is data-starting-style:scale-98 and data-ending-style:scale-98 on PopoverPopup in apps/web/src/components/ui/popover.tsx. Menus and selects open without motion, so popovers are the odd one out.

Impact

Every popover open has a small slide. It makes the model picker in particular feel unsteady.

Version or commit

0.1.10-nightly.20261115.4749

Environment

Windows 11, T3 Code desktop (Nightly), light theme.

Logs or stack traces

No response

Workaround

This theme CSS removes the motion, and popovers still fade in:

[data-slot="popover-popup"] { scale: none !important; }

With that rule the picker no longer moves when it opens in a new conversation.

I have a one-line change that drops the scale and keeps the fade, if that direction is wanted.

Activity

  1. juliusmarminge commented on Nov 16, 2026

    @juliusmarminge
    Member

    This is how it is meant to work: Deferring for redesign

    Closing as not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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