Skip to content

Commit 10b9e76

Browse files
committed
fix(web): model picker no longer jumps sideways when you toggle Fast
The composer's picker trigger sits at the right and grows leftward, so anchor the popup to its fixed right edge.
1 parent 15fe283 commit 10b9e76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/chat/ProviderModelPicker.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ export const ProviderModelPicker = memo(function ProviderModelPicker(props: {
392392
};
393393
}}
394394
initialFocus={searchInputRef}
395-
align="start"
395+
align={props.isComposerOwned ? "end" : "start"}
396396
className="before:hidden"
397397
padding="none"
398398
touchBackdrop

0 commit comments

Comments
 (0)