Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
Enact-DCO-1.0-Signed-off-by: Juwon Jeong ([email protected])
  • Loading branch information
juwonjeong committed Apr 5, 2024
1 parent 38f2dd7 commit 666aca1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/ui/Scroller/Scroller.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

will-change: transform;

/* hide native scrollbar - to be removed after chrome version 121 */
/* hide native scrollbar */
/* NOTE: Needs to be revisited whether it can be replaced with scrollbar-width */
&::-webkit-scrollbar {
display: none;
}
Expand Down
5 changes: 3 additions & 2 deletions packages/ui/Scroller/UiScroller.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
scrollbar-width: none;

will-change: transform;

/* hide native scrollbar - to be removed after chrome version 121 */

/* hide native scrollbar */
/* NOTE: Needs to be revisited whether it can be replaced with scrollbar-width */
&::-webkit-scrollbar {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/VirtualList/UiVirtualList.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
}

/* to be removed after chrome version 121 */
/* NOTE: Needs to be revisited whether it can be replaced with scrollbar-width */
.virtualList::-webkit-scrollbar {
display: none;
}
2 changes: 1 addition & 1 deletion packages/ui/VirtualList/VirtualList.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
will-change: transform;
}

/* to be removed after chrome version 121 */
/* NOTE: Needs to be revisited whether it can be replaced with scrollbar-width */
.virtualList::-webkit-scrollbar {
display: none;
}

0 comments on commit 666aca1

Please sign in to comment.