Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown menue in RecipeDetailsComponent (see in html => appDropdown) isn't working #1

Open
Sara-pixie opened this issue Feb 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Sara-pixie
Copy link
Owner

I believe this code used to work as far back as before I split the code into separate modules and implemented lazy loading (though I am not 100% sure since I didn't test that part then because I haven't changed anything related to it at the time).
I left the DropdownDirective inside the app.module.ts though.

And it works just fine for the dropdown in the header, but when I reach the one in RecipeDetailsComponent (ts file) - see html file and find appDropdown on line 16 the constructor in DropdownDirective doesn't create a separate reference and thus doesn't add class 'open' to that dropdown.

How can it be fixed?

P.S.: to test the code you can login with 'test@test.com' and password: '111111' so you don't have to create a new account.

@Sara-pixie Sara-pixie added the bug Something isn't working label Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant