MurhafSousli / ngx-scrollbar

Custom overlay-scrollbars with native scrolling mechanism
https://ngx-scrollbar.netlify.app/
MIT License
618 stars 99 forks source link

always is not assignable to visibility in html after upgrade to 14. #580

Closed mobile-xl closed 7 months ago

mobile-xl commented 7 months ago

After update 14 my in-HTML code causes an error making me unable to serve/build my angular application

<ng-scrollbar id="inner-scrollbar" visibility="always" #scrollable track="vertical"> ... </ng-scrollbar>

`Type '"always"' is not assignable to type 'ScrollbarVi...

<ng-scrollbar id="inner-scrollbar" visibility="always" #scrollable track="vertical">`

What are you trying to do?

I have nested scrollbars to display a table. The horizontal includes the table headers while the vertical does not.

Environment

MurhafSousli commented 7 months ago

There are some breaking changes, have a look at the changelog.