@instructure/quiz-core 17.44.1-rc.5 → 17.44.1-rc.7

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.
@@ -166,7 +166,7 @@ export var QuizInstructions = (_dec = themeable(theme, styles), _dec(_class = (_
166
166
  instructions: this.props.quiz.instructions,
167
167
  switchOnEditing: this.props.switchOnEditing,
168
168
  contentLocked: this.isContentLocked(),
169
- scrollKey: contentLocked ? this.props.scrollKey : null
169
+ scrollKey: contentLocked ? this.props.scrollKey : void 0
170
170
  });
171
171
  }
172
172
  }, {
@@ -150,7 +150,7 @@ export var QuizTitlePresenter = (_dec = themeable(theme, styles), _dec(_class =
150
150
  switchOnEditing: this.props.switchOnEditing,
151
151
  defaultTitle: this.workingTitle(),
152
152
  contentLocked: this.isContentLocked(),
153
- scrollKey: this.isContentLocked() ? this.props.scrollKey : null
153
+ scrollKey: this.isContentLocked() ? this.props.scrollKey : void 0
154
154
  });
155
155
  }
156
156
  }, {
@@ -90,7 +90,7 @@ var unconnectedMakeScrollable = function unconnectedMakeScrollable(ComposedCompo
90
90
  scrollKey = _this$props.scrollKey,
91
91
  scrollingActions = _this$props.scrollingActions;
92
92
 
93
- if (prevProps.scrolledComponentKey !== scrolledComponentKey && scrolledComponentKey === scrollKey) {
93
+ if (prevProps.scrolledComponentKey !== scrolledComponentKey && scrolledComponentKey && scrollKey && scrolledComponentKey === scrollKey) {
94
94
  this.scrollIntoView(scrollingFocus);
95
95
  scrollingActions.clearsScrolledComponentKey();
96
96
  }
@@ -190,7 +190,7 @@ var QuizInstructions = (_dec = (0, _uiThemeable.themeable)(_theme.default, style
190
190
  instructions: this.props.quiz.instructions,
191
191
  switchOnEditing: this.props.switchOnEditing,
192
192
  contentLocked: this.isContentLocked(),
193
- scrollKey: contentLocked ? this.props.scrollKey : null
193
+ scrollKey: contentLocked ? this.props.scrollKey : void 0
194
194
  });
195
195
  }
196
196
  }, {
@@ -175,7 +175,7 @@ var QuizTitlePresenter = (_dec = (0, _uiThemeable.themeable)(_theme.default, sty
175
175
  switchOnEditing: this.props.switchOnEditing,
176
176
  defaultTitle: this.workingTitle(),
177
177
  contentLocked: this.isContentLocked(),
178
- scrollKey: this.isContentLocked() ? this.props.scrollKey : null
178
+ scrollKey: this.isContentLocked() ? this.props.scrollKey : void 0
179
179
  });
180
180
  }
181
181
  }, {
@@ -115,7 +115,7 @@ var unconnectedMakeScrollable = function unconnectedMakeScrollable(ComposedCompo
115
115
  scrollKey = _this$props.scrollKey,
116
116
  scrollingActions = _this$props.scrollingActions;
117
117
 
118
- if (prevProps.scrolledComponentKey !== scrolledComponentKey && scrolledComponentKey === scrollKey) {
118
+ if (prevProps.scrolledComponentKey !== scrolledComponentKey && scrolledComponentKey && scrollKey && scrolledComponentKey === scrollKey) {
119
119
  this.scrollIntoView(scrollingFocus);
120
120
  scrollingActions.clearsScrolledComponentKey();
121
121
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/quiz-core",
3
- "version": "17.44.1-rc.5+a629e855e",
3
+ "version": "17.44.1-rc.7+f82fb316b",
4
4
  "license": "MIT",
5
5
  "description": "The Quiz React SDK by Instructure Inc.",
6
6
  "author": "Instructure, Inc. Engineering and Product Design",
@@ -41,11 +41,11 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@instructure/outcomes-ui": "^2.1.2",
44
- "@instructure/quiz-common": "17.44.1-rc.5+a629e855e",
45
- "@instructure/quiz-i18n": "17.44.1-rc.5+a629e855e",
46
- "@instructure/quiz-interactions": "17.44.1-rc.5+a629e855e",
47
- "@instructure/quiz-number-input": "17.44.1-rc.5+a629e855e",
48
- "@instructure/quiz-rce": "17.44.1-rc.5+a629e855e",
44
+ "@instructure/quiz-common": "17.44.1-rc.7+f82fb316b",
45
+ "@instructure/quiz-i18n": "17.44.1-rc.7+f82fb316b",
46
+ "@instructure/quiz-interactions": "17.44.1-rc.7+f82fb316b",
47
+ "@instructure/quiz-number-input": "17.44.1-rc.7+f82fb316b",
48
+ "@instructure/quiz-rce": "17.44.1-rc.7+f82fb316b",
49
49
  "@instructure/ui-a11y-content": "^7.20.0",
50
50
  "@instructure/ui-alerts": "^7.20.0",
51
51
  "@instructure/ui-avatar": "^7.20.0",
@@ -106,7 +106,7 @@
106
106
  "eventemitter3": "^3.1.0",
107
107
  "humps": "^2.0.0",
108
108
  "immutable": "^3.8.1",
109
- "instructure-validations": "17.44.1-rc.5+a629e855e",
109
+ "instructure-validations": "17.44.1-rc.7+f82fb316b",
110
110
  "ipaddr.js": "^1.5.4",
111
111
  "isomorphic-fetch": "^2.2.0",
112
112
  "isuuid": "^0.1.0",
@@ -156,7 +156,7 @@
156
156
  "intl": "^1.2.4",
157
157
  "jquery": "^2.2.3",
158
158
  "most-subject": "^5.3.0",
159
- "quiz-presets": "17.44.1-rc.5+a629e855e",
159
+ "quiz-presets": "17.44.1-rc.7+f82fb316b",
160
160
  "react": "^16.8.6",
161
161
  "react-addons-test-utils": "^15.6.2",
162
162
  "react-dom": "^16.8.6",
@@ -172,5 +172,5 @@
172
172
  "publishConfig": {
173
173
  "access": "public"
174
174
  },
175
- "gitHead": "a629e855e5c14e89a33388bf9f00971a0d2e9d68"
175
+ "gitHead": "f82fb316b37bc8509749707d3a1cce78aa6dc9cc"
176
176
  }