Skip to content

Commit

Permalink
Fixed scrollbar on VirtualList component
Browse files Browse the repository at this point in the history
  • Loading branch information
ion-andrusciac-lgp committed Apr 3, 2024
1 parent 2cd9376 commit 5ef5e9b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/ui/VirtualList/UiVirtualList.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
}
}

.virtualList {
/* hide native scrollbar */
scrollbar-width: none;
}

/* to be removed after chrome version 121 */
.virtualList::-webkit-scrollbar {
display: none;
}
6 changes: 6 additions & 0 deletions packages/ui/VirtualList/VirtualList.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
will-change: transform;
}

.virtualList {
/* hide native scrollbar */
scrollbar-width: none;
}

/* to be removed after chrome version 121 */
.virtualList::-webkit-scrollbar {
display: none;
}

0 comments on commit 5ef5e9b

Please sign in to comment.