Skip to content

Commit

Permalink
Fix async
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Mar 6, 2025
1 parent dbd9d2c commit 0056935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/number-field/root/useScrub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function useScrub(params: ScrubParams) {
WebkitUserSelect: 'none',
userSelect: 'none',
},
onPointerDown(event) {
async onPointerDown(event) {
const isMainButton = !event.button || event.button === 0;
if (event.defaultPrevented || readOnly || !isMainButton || disabled) {
return;
Expand Down

0 comments on commit 0056935

Please sign in to comment.