Uncaught (in promise) TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
See original GitHub issueDescription
I am currently seeing this error in Chrome (Version 91.0.4472.114 (Official Build) (x86_64)
) on the console with a barebones Vue 2 project. I’m using a Mac.
flicking.esm.js?5937:679 Uncaught (in promise) TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at getStyle (flicking.esm.js?5937:679)
at VuePanel.__proto.resize (flicking.esm.js?5937:4403)
at eval (flicking.esm.js?5937:3916)
at Array.forEach (<anonymous>)
at VueRenderer.__proto.updatePanelSize (flicking.esm.js?5937:3915)
at Flicking.eval (flicking.esm.js?5937:6259)
at step (flicking.esm.js?5937:187)
at Object.eval [as next] (flicking.esm.js?5937:11
Is this a bug? or is there something wrong with my setup?
Steps to check or reproduce
- Node v12.22.1
- Pull down the branch
npm install
npm run serve
- open chrome console and see the above error.
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (7 by maintainers)
Top Results From Across the Web
JS: Failed to execute 'getComputedStyle' on 'Window ...
The error message says that getComputedStyle requires the parameter to be Element type. ... If it's not possible to always get element correctly,...
Read more >Failed to execute 'getComputedStyle' on 'Window' - OutSystems
On my mobile app i am getting an Error on every page which says "Failed to execute 'getComputedStyle' on 'Window': parameter 1 is...
Read more >Failed to execute 'getComputedStyle' on 'Window ... - GitHub
Uncaught (in promise ) TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. at Proxy.
Read more >parameter 1 is not of type 'Element'. HELP : r/learnjavascript
Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. HELP : r/learnjavascript.
Read more >Uncaught TypeError: Failed to execute ... - GreenSock
Uncaught TypeError : Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. · “No other animation library is as ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem with react. Remove
node_modules
not working. But it’s working when I downgrade the version from4.1.1
to3.7.1
. Does the new version have any breaking changes?Ok for me actually https://naver.github.io/egjs-flicking/docs/quick-start has resolved it. Checked section
Bypassing ref forwarding
and addeduseFindDOMNode={true}
to my Flicking.