arkon / ng-sidebar

[Inactive] Angular sidebar component.

Home Page:https://echeung.me/ng-sidebar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

two scrollbars on page, how to remove unnecessary scrollbar

ivano33z opened this issue · comments

Hi, great great project thanx so much for maintaining it for free.

Can you help me do something, i want to remove the scrollbar of ng-sidebar-container that appears along the main browser scrollbar so i have two scrollbars on the page which i do not want.

So please, how do i have only one browser main scrollbar in the page?

For example demo here https://echeung.me/ng-sidebar/ it has only one scrollbar of the browser.

and here is the screenshot of the problem with two scrollbars: http://prntscr.com/ls2f0w

commented

The ng-sidebar-container component basically needs to act as the main body of the page. You should check if a parent of it (e.g. body or html) has some extra padding that's causing the second scrollbar.