Closed felipebruce closed 4 years ago
Thank you for raising the bug. I'm looking into the issue now and hopefully have a release out shortly
Hey @felipebruce
Believe version 0.0.3 has the fix. The demo in this repository work, waiting on stackblitz to find and then changing the version on stackblitz to use the NPM package
Edit:
Demo been repaired
It happens either on https://stackblitz.com/edit/angular-material-mini-variant or in my own project using your rail drawer plugin.
` ERROR TypeError: Cannot read property 'style' of null at DefaultDomRenderer2.setStyle (dom_renderer.ts:192) at BaseAnimationRenderer.setStyle (animation_renderer.ts:176) at DebugRenderer2.setStyle (services.ts:804) at MatDrawerRailDirective.ngAfterContentInit (drawer-rail.directive.ts:70) at callProviderLifecycles (provider.ts:562) at callElementProvidersLifecycles (provider.ts:541) at callLifecycleHooksChildrenFirst (provider.ts:529) at checkAndUpdateView (view.ts:365) at callViewAction (view.ts:615) at execComponentViewsAction (view.ts:559)
` That was get at the console of Chrome in the url above.