Is it possible to hide/not use the scrollbar on certain pages? #681
-
|
We have a "layout" page which handles, that the scrollbar is displayed on all pages. But in some cases we don't want to display it. Is there an elegant way to do that? We currently have it like this @if (isScrollbarExcluded$ | async) {
<router-outlet></router-outlet>
}
@else {
<ng-scrollbar>
<router-outlet></router-outlet>
</ng-scrollbar>
} |
Beta Was this translation helpful? Give feedback.
Answered by
MurhafSousli
Jan 12, 2025
Replies: 1 comment
-
|
The way you're using it is the way to go! the other way is to add the scrollbar inside each page. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MurhafSousli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The way you're using it is the way to go! the other way is to add the scrollbar inside each page.