Skip to content

Commit aad28c8

Browse files
committed
fix(scrollbar): shows empty space in iOS Safari
1 parent 6f0d73b commit aad28c8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

projects/igniteui-angular/src/lib/core/styles/components/drop-down/_drop-down-theme.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@
262262
%igx-drop-down__list-scroll {
263263
overflow-y: auto;
264264
overflow-x: hidden;
265+
-webkit-overflow-scrolling: touch;
265266
position: relative;
266267

267268
igx-input-group {

projects/igniteui-angular/src/lib/core/styles/components/scrollbar/scrollbar-theme.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,12 @@
7171
background: --var($theme, 'thumb-background');
7272
}
7373
}
74+
75+
@media (hover: none) {
76+
%scrollbar-display ::-webkit-scrollbar {
77+
width: auto;
78+
height: auto;
79+
}
80+
}
7481
}
7582

0 commit comments

Comments
 (0)