I downloaded the latest version of opencode, but the following problem occurs when I switch to the open-source project. #6548

Closed
opened 2026-02-16 18:04:34 -05:00 by yindo · 1 comment
Owner

Originally created by @e88fa9e68f90 on GitHub (Jan 16, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Image Image 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

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @e88fa9e68f90 on GitHub (Jan 16, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description <img width="1139" height="945" alt="Image" src="https://github.com/user-attachments/assets/237ded03-8813-4b6b-aede-bc1565a18f9a" /> <img width="1178" height="831" alt="Image" src="https://github.com/user-attachments/assets/728bf2c8-de8f-43ab-960a-787d56d663d8" /> 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 _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugweb labels 2026-02-16 18:04:34 -05:00
yindo closed this issue 2026-02-16 18:04:34 -05:00
Author
Owner

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

This issue appears to be a duplicate of #8666, which reports the same TypeError with identical stack trace:

  • #8666: windows app 1.1.21 - TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'

Both issues show the exact same error occurring in the UI rendering layer when switching between projects, with the same stack trace through getComputedStyle → isOverflowElement → getOverflowAncestors → autoUpdate.

Please check #8666 first to see if any workarounds or fixes have been discussed there.

@github-actions[bot] commented on GitHub (Jan 16, 2026): This issue appears to be a duplicate of #8666, which reports the same TypeError with identical stack trace: - **#8666**: windows app 1.1.21 - TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' Both issues show the exact same error occurring in the UI rendering layer when switching between projects, with the same stack trace through getComputedStyle → isOverflowElement → getOverflowAncestors → autoUpdate. Please check #8666 first to see if any workarounds or fixes have been discussed there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6548