creativetimofficial / ct-material-dashboard-pro-angular

68 stars 35 forks source link

[Bug] Login and lock screen widget does not show up #380

Open informatikTirol opened 3 years ago

informatikTirol commented 3 years ago

Version

2.5.0

Reproduction link

https://demos.creative-tim.com/material-dashboard-pro-angular2/#/pages/login

Operating System

your server

Device

your server

Browser & Version

Google Chrome 86.0.4240.198

Steps to reproduce

If you load the click the menu button lock or login, the widgets to login or lock do not show up. (e.g. in the dash If you load the side directly in the browser it works.

Here a video: https://www.dropbox.com/s/1s3tgsqen9arbk2/TvO6.mov?dl=0

What is expected?

The widget shows up

What is actually happening?

The widget does not show up


Solution

Additional comments

countrdd commented 3 years ago

in login.component.ts change line 27 to const card = document.getElementsByClassName('card card-login card-hidden')[0];

in lock.component.ts change line 14 to

 const card = document.getElementsByClassName('card card-profile text-center card-hidden')[0];
informatikTirol commented 3 years ago

Thank you, I fixed the bug already with Angular...

rarestoma commented 3 years ago

Hi @informatikTirol,

Thank you for working with our products.

Please let me know if you need help with anything else.

Regards, Rares