@elementor/editor-interactions 4.1.0-722 → 4.1.0-724
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
- package/src/utils/resolve-direction.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -682,7 +682,7 @@ var resolveDirection = (hasDirection, newEffect, newDirection, currentDirection,
|
|
|
682
682
|
return "top";
|
|
683
683
|
}
|
|
684
684
|
if (currentEffect === "slide" && hasDirection) {
|
|
685
|
-
return newDirection
|
|
685
|
+
return newDirection || "top";
|
|
686
686
|
}
|
|
687
687
|
if (hasDirection) {
|
|
688
688
|
return newDirection;
|