Simplest answer:
<input type="number" onWheel={(e) => e.target.blur()} />
e
is short for event
.
This also works:
<input type="number" onWheel={() => document.activeElement.blur()} />
Either of these can be used either in a functional or in a class component.