I don't think this is possible. Your browser is triggering the onBlur event when you switch tabs— it's not related to your code. There's only a few options of when to validate in React Hook Form (onSubmit, onChange, onBlur, onTouched, all) and none of them solve this issue (https://www.react-hook-form.com/api/useform/#mode).