react.js cursor jump