Topic: Unable to get property 'contains'

suresh.kandukuri free asked 5 years ago

we are getting the below issue in the IE 9 console SCRIPT5007: Unable to get property 'contains' of undefined or null reference File: mdb.min.js, Line: 4, Column: 9930 please let me  know is it a known bug, is there any fix for this? Regards Suresh

Arkadiusz Idzikowski staff answered 4 years ago

Dear guillermo lam, Which version of MDB Angular do you use? This error occurs immediately on a fresh installation or when trying to use one of the components? Best, Arek

guillermo lam free answered 4 years ago

Fscing the same error using Chrome:   core.js:1521 ERROR TypeError: Cannot read property 'contains' of undefined at angular-bootstrap-md.es5.js:529 at NodeList.forEach (<anonymous>) at angular-bootstrap-md.es5.js:528 at Array.forEach (<anonymous>) at MutationObserver.<anonymous> (angular-bootstrap-md.es5.js:506) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388) at Object.onInvoke (core.js:3654) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runGuarded (zone.js:151) at MutationObserver.<anonymous> (zone.js:129)

Marta Wierzbicka staff answered 5 years ago

Hi Silviu Dusa, I can't reproduce a problem (I don't see a bug). Would you show me any demo presenting the problem? Best, Marta

Silviu Dusa free answered 5 years ago

I am getting the same error with IE 11 on Win 10. I am using mdb version 4.5.0. Is there a resolution for this? Thank you.

Marta Wierzbicka staff answered 5 years ago

Hi, what exact version of MDB do you have? The newest one - 4.4.0 or previous one - 4.3.2? Best, Marta

Please insert min. 20 characters.


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



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No