Closed jamshed-qureshi-mobinext closed 5 years ago
I've applied height:100vh property to ng-sidebar-container but that didn't help.
Is there actually an error or is the content not just displaying?
There is no error, but the page content is not getting displayed at all. I gave height:100vh; to all the parent directives(i.e router-outlet) of the route as well but it didn't help much. I think the problem lies in using SidebarModule in the nested module. Correct me if I'm wrong.
If you inspect the page, is the content actually in the container component?
You can dropping the forRoot()
part too if you think that's the issue. I don't have much experience with nested modules though.
I dropped the forRoot() part, still it didn't help either.
Did you check if the components/content actually exist in the DOM?
I'm having the same issue as #100 and I've also applied ''. Also I've applied "position:static;" property. My page gets loaded in the browser but it doesn't render at all.
Point to mention here is that I'm using the ng-sidebar-container directive in a nested module's component, however I've also imported the SidebarModule in the nested module's import array. Is the problem because I've used SidebarModule.forRoot() in the nested module or is it something else.
This page's component is not app.component instead it's in a routed component.