opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Critical Error when starting a new chat

Open AlexSandorDev opened this issue 17 hours ago • 2 comments

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

AlexSandorDev avatar Jan 17 '26 12:01 AlexSandorDev