Skip to content

A local-first personal finance app

Fix Custom Select unnecessary disabled scrollbar (#1314)

Sean Tsai2a627ef98886
diff --git a/packages/desktop-client/src/components/common/CustomSelect.tsx b/packages/desktop-client/src/components/common/CustomSelect.tsx
index cafc24f4f5..d85ae87143 100644
--- a/packages/desktop-client/src/components/common/CustomSelect.tsx
+++ b/packages/desktop-client/src/components/common/CustomSelect.tsx
@@ -35,7 +35,7 @@ export default function CustomSelect({
arrow={<ExpandArrow style={{ width: 7, height: 7, paddingTop: 3 }} />}
/>
<ListboxPopover style={{ zIndex: 10000, outline: 0, borderRadius: 4 }}>
- <ListboxList style={{ maxHeight: 250, overflowY: 'scroll' }}>
+ <ListboxList style={{ maxHeight: 250, overflowY: 'auto' }}>
{options.map(([value, label]) => (
<ListboxOption
key={value}
diff --git a/upcoming-release-notes/1314.md b/upcoming-release-notes/1314.md
new file mode 100644
index 0000000000..0a475f9544
--- /dev/null
+++ b/upcoming-release-notes/1314.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [aleetsaiya]
+---
+
+Fix Custom Select unnecessary disabled scrollbar