On iOS devices, the keyboard may push the page up to the top, and will not reset automatically when the keyboard closed. This module can solve this problem, avoid page dislocation.
npm install keyboard-close-reset-scroll --save
import kcrs from 'keyboard-close-reset-scroll';
// init module, will init event listeners
var success = kcrs.init();
console.log('kcrs init success: ', success);
// destroy module, will remove event listeners
kcrs.destroy();
The MIT License (MIT)