You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I opened a Issue earlier to ask them to add a way to listen to the events of Sticky #45 , well, reading the directive I discovered that this already exists, the problem is now another, I went to test the module and it just did not work, I used the listen to see if something is returned, and finally, it shows that the directive is active, but scrolling does not happen, CSS is not added, not even the component accompanies the scroll bar as it was proposed.
This is my module, where I am importing the policy module:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { HeaderModule } from './header/header.module';
import { StickyModule } from 'ng2-sticky-kit';
import { AppComponent } from './app.component';
import { LoginComponent } from './login/login.component';
@NgModule({
declarations: [
AppComponent,
LoginComponent
],
imports: [
BrowserModule,
NgbModule.forRoot(),
HeaderModule,
StickyModule,
AppRoutingModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { HeaderModule } from './header/header.module';
import { StickyModule } from 'ng2-sticky-kit';
import { AppComponent } from './app.component';
import { LoginComponent } from './login/login.component';
@NgModule({
declarations: [
AppComponent,
LoginComponent
],
imports: [
BrowserModule,
NgbModule.forRoot(),
HeaderModule,
StickyModule,
AppRoutingModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
E This is the html where I am calling the directive:
<!--The content below is only a placeholder and can be replaced.-->
<sticky sticky-start="0">
<nav>
<div class="container">menu</div>
</nav>
</sticky>
<!--mb-header></mb-header>
<div class="container">
<mb-login></mb-login>
</div-->
<div style="height: 1500px"></div>
<!--router-outlet></router-outlet-->
The text was updated successfully, but these errors were encountered:
I opened a Issue earlier to ask them to add a way to listen to the events of Sticky #45 , well, reading the directive I discovered that this already exists, the problem is now another, I went to test the module and it just did not work, I used the listen to see if something is returned, and finally, it shows that the directive is active, but scrolling does not happen, CSS is not added, not even the component accompanies the scroll bar as it was proposed.
This is the Angular version I am using:
This is my module, where I am importing the policy module:
E This is the html where I am calling the directive:
The text was updated successfully, but these errors were encountered: