From 4e75afbfc68c3f0f48858a1b644fe329f5b13c21 Mon Sep 17 00:00:00 2001 From: Sarah Vessels Date: Sat, 7 Sep 2019 09:34:11 -0500 Subject: [PATCH] Still focus earlier season rank/placement fields --- src/components/MatchForm.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/MatchForm.js b/src/components/MatchForm.js index f640b7a..db0ad52 100644 --- a/src/components/MatchForm.js +++ b/src/components/MatchForm.js @@ -536,6 +536,7 @@ class MatchForm extends Component { className="form-select select-lg" value={result} required + autoFocus={season < Season.roleQueueSeasonStart} id="match-result" onChange={this.onResultChange} ref={el => this.placementMatchResultField = el} @@ -550,6 +551,7 @@ class MatchForm extends Component { id="match-rank" type="number" required + autoFocus={season < Season.roleQueueSeasonStart} ref={el => this.matchRankField = el} className="form-control sr-field" value={rank}