Skip to content

Commit 40bc0d7

Browse files
authored
feat: Display scrollbars while pointer moves or user scrolls (RocketChat#36623)
1 parent a54f883 commit 40bc0d7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/afraid-rings-call.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@rocket.chat/meteor': minor
3+
---
4+
5+
Overrides the scrollbars auto hide behavior from hiding while not scrolling to hiding while not moving

apps/meteor/client/components/CustomScrollbars/BaseScrollbars.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import 'overlayscrollbars/styles/overlayscrollbars.css';
77

88
export const getScrollbarsOptions = (overflowX?: boolean) =>
99
({
10-
scrollbars: { autoHide: 'scroll' },
10+
scrollbars: { autoHide: 'move' },
1111
overflow: { x: overflowX ? 'scroll' : 'hidden' },
1212
}) as const;
1313

0 commit comments

Comments
 (0)