[VS Code Extension] Codex sidebar flickers while rendering flowcharts in chat on macOS

Open 💬 0 comments Opened Apr 7, 2026 by opdify

What version of the IDE extension are you using?

26.325.31654

What subscription do you have?

GPT Plus

Which IDE are you using?

VS Code

What platform is your computer?

macos-Darwin 25.4.0 arm64 arm

What issue are you seeing?

When I ask Codex to draw a flowchart in the chat, the Codex sidebar flickers during rendering.

What steps can reproduce the bug?

  1. Open VS Code with the Codex extension enabled.
  2. Start a chat with Codex.
  3. Ask Codex to draw a flowchart, for example:

"Draw any flowchart so I can test the feature. Ignore the project context."

  1. Watch the Codex sidebar while the flowchart is being generated.

What is the expected behavior?

The flowchart should render smoothly without flickering.

Ideally, the extension could wait until the diagram content is complete before attempting to render and display it.

Additional information

Possible cause:

  • Streaming output may contain incomplete flowchart syntax during generation.
  • The renderer may try to display the diagram before the syntax is complete, causing repeated failed renders or UI refreshes.

Suggested fix:

  • Delay flowchart rendering until the diagram block is complete.
  • Alternatively, render a placeholder first and only replace it with the final diagram after the syntax becomes valid.

If helpful, I can also provide a screen recording.This looks like a UI/rendering issue specific to the VS Code extension rather than a model-quality issue.

View original on GitHub ↗