Skip to content

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

Closed

Description

@shunshunbu

Description

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-DsovkRPS.js:1705:87584)
at isOverflowElement (http://tauri.localhost/assets/index-DsovkRPS.js:1705:86357)
at getOverflowAncestors (http://tauri.localhost/assets/index-DsovkRPS.js:1705:88251)
at autoUpdate (http://tauri.localhost/assets/index-DsovkRPS.js:1705:95770)
at Object.fn (http://tauri.localhost/assets/index-DsovkRPS.js:1705:101774)
at runComputation (http://tauri.localhost/assets/index-DsovkRPS.js:2:8250)
at updateComputation (http://tauri.localhost/assets/index-DsovkRPS.js:2:7981)
at runTop (http://tauri.localhost/assets/index-DsovkRPS.js:2:9466)
at runUserEffects (http://tauri.localhost/assets/index-DsovkRPS.js:2:10730)
at http://tauri.localhost/assets/index-DsovkRPS.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

Activity

  1. zhb161 commented on Jan 17, 2026

    @zhb161

    +1

  2. glebedino-cmd commented on Jan 17, 2026

    @glebedino-cmd

    +1 also clean .local and fresh instal same problem on first session message after restart app all good but if add new session again

  3. glebedino-cmd commented on Jan 17, 2026

    @glebedino-cmd

    1.1.25 error 1.1.24 all clear

  4. neriousy commented on Jan 17, 2026

    @neriousy
    Member

    Fixed in # #9054

  5. ShadowArcanist commented on Feb 2, 2026

    @ShadowArcanist

    Hi, I am experiencing the same issue on OpenCode Desktop v1.1.48 | macOS Ventura 13.7.8

    Brave 1.86.146 (Official Build) (arm64) Chromium: 144.0.7559.110 shows:
    Image

    Firefox 147.0.2 (aarch64) shows:
    Image

    This only happens when I click the model selector:

    Image

    Note: I remember using this exact same version of Opencode without any issues, not sure what got changed over night (I haven't changed anything on opencode)

  6. grigio commented on Feb 3, 2026

    @grigio

    i also have this bug it seems it happens when another session is active and you try to change the model in another one

  7. adamdotdevin commented on Feb 4, 2026

    @adamdotdevin
    Member

    @grigio @zhb161 @shunshunbu @glebedino-cmd can you all confirm that this is fixed in latest desktop/web release?

  8. grigio commented on Feb 4, 2026

    @grigio

    @adamdotdevin it seems fixed for me

  9. ShadowArcanist commented on Feb 5, 2026

    @ShadowArcanist

    It is fixed for me too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions