catchup-library-web 1.21.3 → 1.21.4
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.
package/dist/index.js
CHANGED
|
@@ -5393,7 +5393,7 @@ var GroupingActivityMaterialContent = ({
|
|
|
5393
5393
|
if (dropZoneElement) {
|
|
5394
5394
|
dropZoneElement.scrollIntoView({
|
|
5395
5395
|
behavior: "smooth",
|
|
5396
|
-
block: "
|
|
5396
|
+
block: "end"
|
|
5397
5397
|
});
|
|
5398
5398
|
}
|
|
5399
5399
|
}
|
|
@@ -5807,7 +5807,7 @@ var MatchingActivityMaterialContent = ({
|
|
|
5807
5807
|
if (dropZoneElement) {
|
|
5808
5808
|
dropZoneElement.scrollIntoView({
|
|
5809
5809
|
behavior: "smooth",
|
|
5810
|
-
block: "
|
|
5810
|
+
block: "end"
|
|
5811
5811
|
});
|
|
5812
5812
|
}
|
|
5813
5813
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -5177,7 +5177,7 @@ var GroupingActivityMaterialContent = ({
|
|
|
5177
5177
|
if (dropZoneElement) {
|
|
5178
5178
|
dropZoneElement.scrollIntoView({
|
|
5179
5179
|
behavior: "smooth",
|
|
5180
|
-
block: "
|
|
5180
|
+
block: "end"
|
|
5181
5181
|
});
|
|
5182
5182
|
}
|
|
5183
5183
|
}
|
|
@@ -5591,7 +5591,7 @@ var MatchingActivityMaterialContent = ({
|
|
|
5591
5591
|
if (dropZoneElement) {
|
|
5592
5592
|
dropZoneElement.scrollIntoView({
|
|
5593
5593
|
behavior: "smooth",
|
|
5594
|
-
block: "
|
|
5594
|
+
block: "end"
|
|
5595
5595
|
});
|
|
5596
5596
|
}
|
|
5597
5597
|
}
|
package/package.json
CHANGED
|
@@ -62,14 +62,13 @@ const MatchingActivityMaterialContent = ({
|
|
|
62
62
|
).answerMap = materialMap;
|
|
63
63
|
}, [showCorrectAnswer, answer, materialMap]);
|
|
64
64
|
|
|
65
|
-
// Auto-scroll to center the drop zone when hovering
|
|
66
65
|
useEffect(() => {
|
|
67
66
|
if (dropTargetKey && dropZoneRefs.current[dropTargetKey]) {
|
|
68
67
|
const dropZoneElement = dropZoneRefs.current[dropTargetKey];
|
|
69
68
|
if (dropZoneElement) {
|
|
70
69
|
dropZoneElement.scrollIntoView({
|
|
71
70
|
behavior: "smooth",
|
|
72
|
-
block: "
|
|
71
|
+
block: "end",
|
|
73
72
|
});
|
|
74
73
|
}
|
|
75
74
|
}
|