We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c1e53 commit 14c9ab2Copy full SHA for 14c9ab2
packages/@react-aria/spinbutton/src/useSpinButton.ts
@@ -135,6 +135,7 @@ export function useSpinButton(
135
136
const onIncrementPressStart = useCallback(
137
(initialStepDelay: number) => {
138
+ clearAsync();
139
onIncrement();
140
// Start spinning after initial delay
141
_async.current = window.setTimeout(
@@ -151,6 +152,7 @@ export function useSpinButton(
151
152
153
const onDecrementPressStart = useCallback(
154
155
156
onDecrement();
157
158
0 commit comments