You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prompt text box becomes extremely laggy when chat displays any rich UI elements #12937
Whenever there's anything else than plain text displayed in the codex chat panel, such as diff widgets or list of changed files with undo/review buttons, the prompt text box typing becomes extremely laggy and unresponsible, sometimes having up to several hundred millisecond input latency. Merely scrolling the UI elements out of the view to a part of the chat that has plain text fixes the lag.
What steps can reproduce the bug?
Open Codex Chat in a VSCode sidebar
Order agent to perform extensive changes across multiple files, which will result in diff and review widgets to be displayed in the chat log.
Hold down any key in the text prompt box, and watch the text appear with significant delay at extremely low framerate.
Scroll the chat log into a part of the chat where only plain markdown text is displayed
Hold down any key in the text prompt box, and watch the text appear immediately and smoothly
What is the expected behavior?
Widgets displayed in the chat log have no impact on the performance of the prompt text box.
Additional information
No response
Reacted by Himanshu, ryanc-scalegrowth, Jaex, Spencer Davis and IPD Workshop
Activity