Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve type search #641

Merged
merged 5 commits into from
Jan 31, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Larger increment for scrolling
wbazant committed Jan 31, 2025
commit 66a791e96f4d6f0f837bb90e5b95230257e9d191
4 changes: 2 additions & 2 deletions src/components/ui/Select.js
Original file line number Diff line number Diff line change
@@ -80,8 +80,8 @@ const SelectParent = styled.div`
const StyledSelect = SelectParent.withComponent(Select)
const StyledCreatableSelect = SelectParent.withComponent(Creatable)

const INITIAL_VISIBLE_COUNT = 20
const INCREMENT = 10
const INITIAL_VISIBLE_COUNT = 100
const INCREMENT = 100

const InfiniteMenuList = ({ children }) => {
const [visibleCount, setVisibleCount] = useState(INITIAL_VISIBLE_COUNT)