-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Menu: error when navigating to page without menu and then back to previous page #263
Closed
1 of 2 tasks
Labels
Comments
@yggg when you have a spare minute |
Hello Guys!!! Just an FYI I had the same issues testing the starter-kit. When navigating to any auth page, and with a browser back, that error appear. Maybe would be good to have close butttons for the login pages... Cya Paulo |
3 tasks
1 task
nnixaa
pushed a commit
that referenced
this issue
Apr 5, 2018
Closes #263 To animate menu expanding we need to know a height of all expanded children. Since children can't be accessed before AfterViewInit hook, we have to calc and set 'maxHeight' there, but it causing ExpressionChangedAfterItHasBeenCheckedError error. Since 'maxHeight' can't be calculated earlier, we have to trigger change detection again. This is a common workaround for this error.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior:
throws error
![image](https://user-images.githubusercontent.com/230527/36536510-3b85cb20-17de-11e8-9e62-41716b7c801c.png)
Expected behavior:
no error
Steps to reproduce:
on ngx-admin
Angular, Nebular
nebular rc5, rc6
The text was updated successfully, but these errors were encountered: