Skip to content

Commit 3f88ec3

Browse files
authored
Merge pull request #3195 from liam-hq/fix-android-chrome-sidebar-scroll
🐛 Fix sidebar scroll issues on Android Chrome
2 parents ddc476a + 42fff9a commit 3f88ec3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/smooth-olives-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@liam-hq/ui": patch
3+
---
4+
5+
🐛 Fixed an issue where the sidebar couldn't be scrolled properly on Android Chrome browsers.

frontend/packages/ui/src/components/Sidebar/Sidebar.module.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
.sidebar {
4848
background: var(--pane-background);
4949
width: 100%;
50-
height: 100%;
50+
height: 100svh;
5151
display: flex;
5252
flex-direction: column;
5353
}
@@ -56,6 +56,7 @@
5656
flex: 1 1 0%;
5757
overflow-y: auto;
5858
padding-bottom: var(--spacing-10);
59+
touch-action: pan-y;
5960
}
6061

6162
.sidebarMenuItem {

0 commit comments

Comments
 (0)