@zohodesk/components 1.0.0-temp-215 → 1.0.0-temp-215.1
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/es/Popup/Popup.js +1 -1
- package/lib/Popup/Popup.js +1 -1
- package/package.json +1 -1
package/es/Popup/Popup.js
CHANGED
|
@@ -310,7 +310,7 @@ const Popup = function (Component) {
|
|
|
310
310
|
|
|
311
311
|
if (this.positionRef.current !== view) {
|
|
312
312
|
dropElement.setAttribute('data-position', `${view}`);
|
|
313
|
-
dropElement.setAttribute('data-
|
|
313
|
+
dropElement.setAttribute('data-boxdirection', `${positionMapping[view].direction}`);
|
|
314
314
|
}
|
|
315
315
|
});
|
|
316
316
|
}
|
package/lib/Popup/Popup.js
CHANGED
|
@@ -381,7 +381,7 @@ var Popup = function Popup(Component) {
|
|
|
381
381
|
|
|
382
382
|
if (_this3.positionRef.current !== view) {
|
|
383
383
|
dropElement.setAttribute('data-position', "".concat(view));
|
|
384
|
-
dropElement.setAttribute('data-
|
|
384
|
+
dropElement.setAttribute('data-boxdirection', "".concat(_DropBoxPositionMapping.positionMapping[view].direction));
|
|
385
385
|
}
|
|
386
386
|
});
|
|
387
387
|
}
|