@instructure/quiz-core 20.17.2-rc.7 → 20.17.2-rc.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -214,9 +214,13 @@ var QuizEntryEdit = (_dec = withStyle(generateStyle, generateComponentTheme), _d
214
214
 
215
215
  if (_this.props.nextQuizEntry) {
216
216
  _this.createNextQuizEntry();
217
- }
217
+ } // Delay the switchOffEditing call to prevents the focus from incorrectly
218
+ // jumping back to the previous question during the transition between questions.
219
+
218
220
 
219
- _this.props.switchOffEditing();
221
+ setTimeout(function () {
222
+ _this.props.switchOffEditing();
223
+ });
220
224
 
221
225
  case 19:
222
226
  case "end":
@@ -246,9 +246,13 @@ var QuizEntryEdit = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defa
246
246
 
247
247
  if (_this.props.nextQuizEntry) {
248
248
  _this.createNextQuizEntry();
249
- }
249
+ } // Delay the switchOffEditing call to prevents the focus from incorrectly
250
+ // jumping back to the previous question during the transition between questions.
251
+
250
252
 
251
- _this.props.switchOffEditing();
253
+ setTimeout(function () {
254
+ _this.props.switchOffEditing();
255
+ });
252
256
 
253
257
  case 19:
254
258
  case "end":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "20.17.2-rc.7+3ecb79c97",
3
+ "version": "20.17.2-rc.8+13780e4ab",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -44,11 +44,11 @@
44
44
  "@instructure/emotion": "^8.51.0",
45
45
  "@instructure/grading-utils": "^1.0.0",
46
46
  "@instructure/outcomes-ui": "^3.2.2",
47
- "@instructure/quiz-common": "20.17.2-rc.7+3ecb79c97",
48
- "@instructure/quiz-i18n": "20.17.2-rc.7+3ecb79c97",
49
- "@instructure/quiz-interactions": "20.17.2-rc.7+3ecb79c97",
50
- "@instructure/quiz-number-input": "20.17.2-rc.7+3ecb79c97",
51
- "@instructure/quiz-rce": "20.17.2-rc.7+3ecb79c97",
47
+ "@instructure/quiz-common": "20.17.2-rc.8+13780e4ab",
48
+ "@instructure/quiz-i18n": "20.17.2-rc.8+13780e4ab",
49
+ "@instructure/quiz-interactions": "20.17.2-rc.8+13780e4ab",
50
+ "@instructure/quiz-number-input": "20.17.2-rc.8+13780e4ab",
51
+ "@instructure/quiz-rce": "20.17.2-rc.8+13780e4ab",
52
52
  "@instructure/ui-a11y-content": "^8.51.0",
53
53
  "@instructure/ui-alerts": "^8.51.0",
54
54
  "@instructure/ui-avatar": "^8.51.0",
@@ -111,7 +111,7 @@
111
111
  "file-saver": "~2.0.5",
112
112
  "humps": "^2.0.0",
113
113
  "immutable": "^3.8.1",
114
- "instructure-validations": "20.17.2-rc.7+3ecb79c97",
114
+ "instructure-validations": "20.17.2-rc.8+13780e4ab",
115
115
  "ipaddr.js": "^1.5.4",
116
116
  "isomorphic-fetch": "^2.2.0",
117
117
  "isuuid": "^0.1.0",
@@ -161,7 +161,7 @@
161
161
  "jquery": "^2.2.3",
162
162
  "karma-junit-reporter": "^2.0.1",
163
163
  "most-subject": "^5.3.0",
164
- "quiz-presets": "20.17.2-rc.7+3ecb79c97",
164
+ "quiz-presets": "20.17.2-rc.8+13780e4ab",
165
165
  "react": "^16.8.6",
166
166
  "react-addons-test-utils": "^15.6.2",
167
167
  "react-dom": "^16.8.6",
@@ -177,5 +177,5 @@
177
177
  "publishConfig": {
178
178
  "access": "public"
179
179
  },
180
- "gitHead": "3ecb79c97c6ff8781a7ca9b53912abd4d7aef590"
180
+ "gitHead": "13780e4ab7ecd7821da3219e5686eb0564710941"
181
181
  }