diff --git a/core/templates/components/question-directives/question-editor/question-editor.component.html b/core/templates/components/question-directives/question-editor/question-editor.component.html index 231a62e51494..db7adf01536e 100644 --- a/core/templates/components/question-directives/question-editor/question-editor.component.html +++ b/core/templates/components/question-directives/question-editor/question-editor.component.html @@ -9,7 +9,8 @@ (onSaveInapplicableSkillMisconceptionIds)="saveInapplicableSkillMisconceptionIds($event)" [interactionIsShown]="interactionIsShown" [stateContentPlaceholder]="getStateContentPlaceholder()" - [stateContentSaveButtonPlaceholder]="getStateContentSaveButtonPlaceholder()"> + [stateContentSaveButtonPlaceholder]="getStateContentSaveButtonPlaceholder()" + [stateContentShouldStayVisibleOnScroll]="stateContentShouldStayVisibleOnScroll"> diff --git a/core/templates/components/question-directives/question-editor/question-editor.component.ts b/core/templates/components/question-directives/question-editor/question-editor.component.ts index 7f17fae276cf..e27732bdd5df 100644 --- a/core/templates/components/question-directives/question-editor/question-editor.component.ts +++ b/core/templates/components/question-directives/question-editor/question-editor.component.ts @@ -60,6 +60,7 @@ export class QuestionEditorComponent implements OnInit, OnDestroy { @Input() question!: Question; @Input() questionId!: string; @Input() questionStateData!: State; + @Input() stateContentShouldStayVisibleOnScroll!: boolean; interactionIsShown!: boolean; oppiaBlackImgUrl!: string; stateEditorIsInitialized!: boolean; diff --git a/core/templates/components/question-directives/questions-list/questions-list.component.html b/core/templates/components/question-directives/questions-list/questions-list.component.html index e6ab31fb5cc9..930a27b8d991 100644 --- a/core/templates/components/question-directives/questions-list/questions-list.component.html +++ b/core/templates/components/question-directives/questions-list/questions-list.component.html @@ -43,7 +43,8 @@