coreui/coreui-free-vue-admin-template

An error about getComputedStyle.

Emrehrz opened this issue · 3 comments

I modified the coreui & vuejs3 free template and recently get some error about:
Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
Especially I encounter this error when Im shrink the browser window or resize it.

using windows 10 and latest version chrome browser

I also have this error. It comes from src/components/sidebar/CSidebar:6 isOnMobile function

Normally, it's not visible but when I logged out and resize the screen, I can see it.
I guess this error occurs when the main layout changes and the sidebar becomes hidden. Maybe @mrholek can help us.

I will fix it in the next release

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions