Skip to content

Commit

Permalink
Larger increment for scrolling
Browse files Browse the repository at this point in the history
wbazant committed Jan 31, 2025
1 parent 1e52a5d commit 3a81a16
Showing 1 changed file with 2 additions and 2 deletions.
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)

0 comments on commit 3a81a16

Please sign in to comment.