mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix(ui): virtualize the Lens setup preview table
The preview wrapper scrolled instead of the table's own scroller, so the virtualizer saw every row as visible and kept fetching pages. Each page re-rendered thousands of rows and blocked typing for up to a second. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
673d6cba43
commit
284f12f522
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ export function MatchingActivityPreview({
|
|||
</div>
|
||||
)}
|
||||
{(status.loading || (shown && !status.error && runs.length > 0)) && (
|
||||
<div className="max-h-[calc(100dvh-16rem)] min-h-0 overflow-auto">
|
||||
<div className="flex max-h-[calc(100dvh-16rem)] min-h-0 flex-col">
|
||||
<PreviewTable
|
||||
traces={runs}
|
||||
isLoading={status.loading}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue