I noticed if you scroll back and forth very fast eventually the IonRange component will break and set its values to a NaN. Could this be a bug with the component? Preventing the default action in these cases does not void this issue.
<IonRange
value={field.value}
dualKnobs
pin
min={8}
max={99}
onIonChange={(e) => {
const { lower, upper } = e.detail.value as {
lower: number
upper: number
}
if (isNaN(lower) || isNaN(upper)) e.preventDefault()
field.onChange(e.detail.value)
}}
/>