Skip to content

Commit

Permalink
Param specified everywhere, bool value now inline html
Browse files Browse the repository at this point in the history
  • Loading branch information
arjen0203 committed Apr 12, 2024
1 parent 827c903 commit 5330042
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ <h4> <strong> Linked Skills </strong> </h4>
[misconceptionsBySkill]="misconceptionsBySkill"
[questionStateData]="questionStateData"
[question]="question"
[userCanEditQuestion]="canEditQuestion">
[userCanEditQuestion]="canEditQuestion"
[stateContentShouldStayVisibleOnScroll]="false">
</oppia-question-editor>
<div class="alert alert-danger" *ngIf="question.getStateData().interaction.id && questionValidationService.getValidationErrorMessage(question)">
{{questionValidationService.getValidationErrorMessage(question)}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ <h3>Your Practice Question</h3>
[misconceptionsBySkill]="misconceptionsBySkill"
[questionStateData]="questionStateData"
[question]="question"
[userCanEditQuestion]="canEditQuestion">
[userCanEditQuestion]="canEditQuestion"
[stateContentShouldStayVisibleOnScroll]="false">
</oppia-question-editor>
</div>
<div class="alert alert-danger" *ngIf="question.getStateData().interaction.id && getQuestionValidationErrorMessage()">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ export class QuestionSuggestionReviewModalComponent
questionId: string | null = null;
isFirstItem: boolean = true;
isLastItem: boolean = true;
stateContentShouldStayVisibleOnScroll: boolean = true;

constructor(
private contextService: ContextService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ <h3 class="oppia-mobile-question-header" title="{{questionHeader}}">
</div>
<div *ngIf="showQuestion">
<oppia-question-editor [questionId]="questionId"
[stateContentShouldStayVisibleOnScroll]="stateContentShouldStayVisibleOnScroll"
[misconceptionsBySkill]="misconceptionsBySkill"
[questionStateData]="questionStateData"
[question]="question"
[userCanEditQuestion]="canEditQuestion"
[stateContentShouldStayVisibleOnScroll]="true"
(questionChange)="questionChanged()"
tabindex="0">
</oppia-question-editor>
Expand Down

0 comments on commit 5330042

Please sign in to comment.