From 1ec3742fcf9660022b6072a7ee38c45eaf77b66f Mon Sep 17 00:00:00 2001 From: Dustin Robison <Dustinrobi@gmail.com> Date: Mon, 14 Oct 2019 09:18:43 -0700 Subject: [PATCH] Added prevent default to formfield price onWheel --- src/ui/component/common/form-components/form-field-price.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/component/common/form-components/form-field-price.jsx b/src/ui/component/common/form-components/form-field-price.jsx index fb13aa8b3..673ad6f91 100644 --- a/src/ui/component/common/form-components/form-field-price.jsx +++ b/src/ui/component/common/form-components/form-field-price.jsx @@ -54,6 +54,7 @@ export class FormFieldPrice extends React.PureComponent<Props> { className="form-field--price-amount" min={min} value={price.amount} + onWheel={e => e.preventDefault()} onChange={this.handleAmountChange} placeholder={placeholder || 5} disabled={disabled}