mdb-react-ui-kit not throwing errors randomly


Topic: mdb-react-ui-kit not throwing errors randomly

Divyanshu Sharma asked 2 years ago

I am getting this error again and again on my react website.

I am using mdb-react-ui-kit free version in my App.tsx page in the following way

import * as mdb from "mdb-react-ui-kit";

ERROR
Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
    at It (http://localhost:3000/static/js/bundle.js:26519:15)
    at http://localhost:3000/static/js/bundle.js:26654:29

mlazaru staff commented 2 years ago

Are you using MDBCarousel in your project?


Divyanshu Sharma commented 2 years ago

Yes! I am using it in my project!


mlazaru staff answered 2 years ago

The problem is related to MDBCarousel. We will fix it soon, but for now, unfortunately I haven't any workaround solution for you.


Divyanshu Sharma commented 2 years ago

Thank you for you assistance. Helped me identify the problem :)


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 6.0.0
  • Device: Mackbook M1
  • Browser: Chrome
  • OS: macOS
  • Provided sample code: No
  • Provided link: No