JSFiddle - React, Tailwind, and code Playground
HTML
<div><img height="100" /></div>
<input type="number" id="the_number_input" />
<div><img height="500" /></div>
JavaScript
input = document.getElementById("the_number_input")
input.addEventListener("mousewheel", function(event){ this.blur() })