Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

241
Views
Angular ngx-scrollbar does not work properly

I am using Angular 12. I have implemented ngx-scrollbar for my module in my angular app. Now my issue is the scroll works properly with keyboard up and down arrow keys but does not work with mouse scroll. Below is my code :-

<section class="my_page">
  <div class="my__container" id="overflowCheck">
    <ng-scrollbar appearance="compact" trackClass="prj-scrollbar" thumbClass="prj-scrollbar-thumbs">
      <div [innerHtml]='lang_LTC' class="custom_tag_"></div>
    </ng-scrollbar>
  </div>

  <div class="my__container">
    <form (ngSubmit)="onSubmit()" [formGroup]="myForm" ngNativeValidate>
      <div class="legal__section-1">
        <mat-checkbox class="example-margin" matInput formControlName="checkbox" required color="accent"></mat-checkbox>
        <div class="legal-text">

          <p>
            {{'myParagraph.paragraph3'}}
           
          </p>
        </div>
      </div>
    </form>
  </div>
</section>

CSS:-

#overflowCheck {
  background-color: $blue-black;
  height: 60vh;
  overflow-x: hidden; /* Hide horizontal scrollbar */
  overflow-y: hidden; /* Add vertical scrollbar */
  border: 0.1rem solid rgba(204, 204, 204, 0.472);
  text-align: left;

}

Any assistance or better approach will be appreciated.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!