[PR #1314] [MERGED] Fix Custom Select unnecessary disabled scrollbar #3664

Closed
opened 2026-02-28 20:44:56 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1314
Author: @aleetsaiya
Created: 7/8/2023
Status: Merged
Merged: 7/8/2023
Merged by: @MatissJanis

Base: masterHead: fix-customselect-scrollbar


📝 Commits (2)

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

📝 packages/desktop-client/src/components/common/CustomSelect.tsx (+1 -1)
upcoming-release-notes/1314.md (+6 -0)

📄 Description

Currently CustomSelect will always have scrollbar even the height is not higher than the max height.

Change the style to make the scrollbar only show when the content overflow the max height.

Before:
截圖 2023-07-08 下午11 18 54

After:
截圖 2023-07-08 下午11 18 39

Reference discussion: #1294


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/1314 **Author:** [@aleetsaiya](https://github.com/aleetsaiya) **Created:** 7/8/2023 **Status:** ✅ Merged **Merged:** 7/8/2023 **Merged by:** [@MatissJanis](https://github.com/MatissJanis) **Base:** `master` ← **Head:** `fix-customselect-scrollbar` --- ### 📝 Commits (2) - [`da23815`](https://github.com/actualbudget/actual/commit/da23815c3084188f4a7593fa441c649f20a67710) fix custom select scrollbar style - [`5962617`](https://github.com/actualbudget/actual/commit/59626177251cbd89218e8af72da21aa24c30d415) add release note ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/common/CustomSelect.tsx` (+1 -1) ➕ `upcoming-release-notes/1314.md` (+6 -0) </details> ### 📄 Description Currently `CustomSelect` will always have scrollbar even the height is not higher than the max height. Change the style to make the scrollbar only show when the content overflow the max height. Before: <img width="534" alt="截圖 2023-07-08 下午11 18 54" src="https://github.com/actualbudget/actual/assets/67775387/de0d3c9a-8e22-4fcf-b1da-22c6012ed3a3"> After: <img width="533" alt="截圖 2023-07-08 下午11 18 39" src="https://github.com/actualbudget/actual/assets/67775387/e303ea33-195d-4e47-b914-74c115ebf05a"> Reference discussion: #1294 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 20:44:56 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#3664