i am building an angular site, I need to make a div that cointains other divs scrolable (if it is bigger than the screen). I tried -webkit-overflow-scrolling: touch; but it didn't work. This is my code:
<div *ngFor="let playlist of genres" class="scrollable">
<div [id]="playlist.category" (click)="genreSelected(+playlist.category, playlist.name)" class="questionElement, scrollable">{{ playlist.name }}</div>
</div>
.scrollable {
-webkit-overflow-scrolling: touch;
}
The website is only used on smartphones with the airconsole API.
Try this
I think you are missing some values.
PS: Not tested