@pocketprep/ui-kit 3.4.15 → 3.4.16
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.
|
@@ -19225,8 +19225,8 @@ let Ze = class extends we {
|
|
|
19225
19225
|
y: ((k = t == null ? void 0 : t.changedTouches[0]) == null ? void 0 : k.clientY) || null
|
|
19226
19226
|
};
|
|
19227
19227
|
if (n instanceof HTMLElement && r.x !== null && r.y !== null && this.swipeStart.x !== null && Math.abs(r.x - this.swipeStart.x) > 80) {
|
|
19228
|
-
const
|
|
19229
|
-
|
|
19228
|
+
const j = this.$refs["uikit-question__choices-container"], z = j == null ? void 0 : j.$refs.choices, B = z == null ? void 0 : z.find((x) => x.contains(n)), P = document.elementFromPoint(r.x, r.y);
|
|
19229
|
+
B != null && B.contains(P) && this.clickChoiceStrike(o);
|
|
19230
19230
|
} else
|
|
19231
19231
|
this.showAnswers || (t.cancelable && t.preventDefault(), r.y !== null && this.swipeStart.y !== null && Math.abs(r.y - this.swipeStart.y) < 20 && this.selectChoice(o));
|
|
19232
19232
|
this.swipeStart = { x: null, y: null };
|