Skip to content

Commit

Permalink
MOBILE-4362 quiz: Fix Drag&Drop race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelDeMartin committed Oct 11, 2023
1 parent 6ff7505 commit 5b0250f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/addons/qtype/ddimageortext/classes/ddimageortext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class AddonQtypeDdImageOrTextQuestion {
}
}

await CoreUtils.nextTick();
await CoreDom.waitToBeVisible(this.container);

// All drag items have been created, position them.
this.repositionDragsForQuestion();
Expand Down

0 comments on commit 5b0250f

Please sign in to comment.