document.body.addEventListener('focusout', function () {
            if (isIOS) {
                window.scrollTo(0, 0)
            }
});
Copy the code

The difference between a Focusout event and a blur event is that the latter does not bubble.