Skip to content

Commit

Permalink
Fix quantity
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Nov 16, 2024
1 parent 9118d35 commit 5027cc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/dashboard/src/components/invoice/quantity-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export function QuantityInput({
min={0}
onChange={onChange}
onFocus={() => setIsFocused(true)}
className={cn(isPlaceholder && "opacity-0")}
className={cn(
isPlaceholder && "opacity-0 [&_button]:pointer-events-none",
)}
onBlur={() => {
setIsFocused(false);
onBlur();
Expand Down

0 comments on commit 5027cc4

Please sign in to comment.