Critical Error when starting a new chat #6595

Open
opened 2026-02-16 18:04:42 -05:00 by yindo · 2 comments
Owner

Originally created by @AlexSandorDev on GitHub (Jan 17, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

After starting a new chat and entering any message I instantly get this error and opnecode prompts me to restart:

TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
TypeError: parameter 1 is not of type 'Element'.
at getComputedStyle$1 (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:91066)
at isOverflowElement (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:89839)
at getOverflowAncestors (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:91733)
at autoUpdate (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:99252)
at Object.fn (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:105253)
at runComputation (http://tauri.localhost/assets/index-nOUlZVlP.js:2:8250)
at updateComputation (http://tauri.localhost/assets/index-nOUlZVlP.js:2:7981)
at runTop (http://tauri.localhost/assets/index-nOUlZVlP.js:2:9466)
at runUserEffects (http://tauri.localhost/assets/index-nOUlZVlP.js:2:10730)
at http://tauri.localhost/assets/index-nOUlZVlP.js:2:10322

Plugins

No response

OpenCode version

1.1.25

Steps to reproduce

  1. Start a new chat
  2. Write anything
  3. Press Enter

Screenshot and/or share link

No response

Operating System

Windows 10

Terminal

No response

Originally created by @AlexSandorDev on GitHub (Jan 17, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description After starting a new chat and entering any message I instantly get this error and opnecode prompts me to restart: TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. TypeError: parameter 1 is not of type 'Element'. at getComputedStyle$1 (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:91066) at isOverflowElement (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:89839) at getOverflowAncestors (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:91733) at autoUpdate (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:99252) at Object.fn (http://tauri.localhost/assets/index-nOUlZVlP.js:1707:105253) at runComputation (http://tauri.localhost/assets/index-nOUlZVlP.js:2:8250) at updateComputation (http://tauri.localhost/assets/index-nOUlZVlP.js:2:7981) at runTop (http://tauri.localhost/assets/index-nOUlZVlP.js:2:9466) at runUserEffects (http://tauri.localhost/assets/index-nOUlZVlP.js:2:10730) at http://tauri.localhost/assets/index-nOUlZVlP.js:2:10322 ### Plugins _No response_ ### OpenCode version 1.1.25 ### Steps to reproduce 1. Start a new chat 2. Write anything 3. Press Enter ### Screenshot and/or share link _No response_ ### Operating System Windows 10 ### Terminal _No response_
yindo added the windowsbugweb labels 2026-02-16 18:04:42 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 17, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8666: Same error - TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' with identical stack trace

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Jan 17, 2026): This issue might be a duplicate of existing issues. Please check: - #8666: Same error - TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' with identical stack trace Feel free to ignore if this doesn't address your specific case.
Author
Owner

@neriousy commented on GitHub (Jan 17, 2026):

Fixed in # #9054

@neriousy commented on GitHub (Jan 17, 2026): Fixed in # #9054
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6595