An error will occur if the prompt word is too long.
Description
I'm using the Windows desktop version of OpenCode, and it throws an error when the suggestion words are too long, but it works fine with medium to short suggestion words.
The error message is: 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
superpower
OpenCode version
1.1.25
Steps to reproduce
-
Open OpenCodeWindows Desktop Edition
-
Enter a relatively long hint message; mine is currently 3536 characters long.
-
An error message will be displayed.
Screenshot and/or share link
No response
Operating System
windows10
Terminal
cmd