Topic: MDB Parallax Error

tdespenza priority asked 1 year ago


I was working on getting the parralax plugin to work but I'm getting the following error.

ERROR TypeError: Cannot read properties of undefined (reading 'nativeElement')
at <instance_members_initializer> (mdb-angular-parallax.mjs:32:33)
at new MdbParallaxComponent (mdb-angular-parallax.mjs:46:16)
at NodeInjectorFactory.MdbParallaxComponent_Factory [as factory] (mdb-angular-parallax.mjs:232:16)
at getNodeInjectable (core.mjs:4758:44)
at instantiateAllDirectives (core.mjs:12612:27)
at createDirectivesInstances (core.mjs:12028:5)
at Module.ɵɵelementStart (core.mjs:16319:9)
at HomeComponent_ng_container_0_Template (home.component.html:29:5)
at executeTemplate (core.mjs:11986:13)
at renderView (core.mjs:13184:13)

Code:

<mdb-parallax [imageSrc]="'/assets/cbdcf388-1a30-43f0-873c-60da24797371/printing-press.jpg'"></mdb-parallax>


We just released a new version of this plugin in which we fixed this bug. Please try to update the plugin version to v5.0.1


tdespenza priority commented 1 year ago

Do you know where I can download it? I'm not seeing it in my orders.


Arkadiusz Idzikowski staff commented 1 year ago

If you install the plugin from our GitLab server, then you just need to reinstall the plugin library using npm command to download the latest version. If you install from the tgz file, you should be able to find the new plugin tgz inside the MDB Advanced zip v5.1.0


tdespenza priority commented 1 year ago

I see it now. Thanks.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 5.0.0
  • Device: Mac
  • Browser: Chrome/Brave/Mullvad/Firefox
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No