sceyt-chat-react-uikit 1.8.5 → 1.8.6-beta.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/index.js +2 -2
- package/index.modern.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -45570,7 +45570,7 @@ var createMessageMarkerBatcher = function createMessageMarkerBatcher(_ref) {
|
|
|
45570
45570
|
|
|
45571
45571
|
var _templateObject$P, _templateObject2$K, _templateObject3$C, _templateObject4$x, _templateObject5$s, _templateObject6$o, _templateObject7$m, _templateObject8$k, _templateObject9$h, _templateObject0$g, _templateObject1$e, _templateObject10$b, _templateObject11$8;
|
|
45572
45572
|
var MessageList = function MessageList(_ref) {
|
|
45573
|
-
var _scrollRef$current, _scrollRef$current2;
|
|
45573
|
+
var _scrollRef$current, _scrollRef$current$of, _scrollRef$current2;
|
|
45574
45574
|
var fontFamily = _ref.fontFamily,
|
|
45575
45575
|
_ref$ownMessageOnRigh = _ref.ownMessageOnRightSide,
|
|
45576
45576
|
ownMessageOnRightSide = _ref$ownMessageOnRigh === void 0 ? true : _ref$ownMessageOnRigh,
|
|
@@ -46212,7 +46212,7 @@ var MessageList = function MessageList(_ref) {
|
|
|
46212
46212
|
id: 'draggingContainer',
|
|
46213
46213
|
draggable: true,
|
|
46214
46214
|
onDragLeave: handleDragOut,
|
|
46215
|
-
topOffset: (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : _scrollRef$current.offsetTop,
|
|
46215
|
+
topOffset: ((_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : (_scrollRef$current$of = _scrollRef$current.offsetParent) === null || _scrollRef$current$of === void 0 ? void 0 : _scrollRef$current$of.offsetTop) || 0,
|
|
46216
46216
|
height: (_scrollRef$current2 = scrollRef.current) === null || _scrollRef$current2 === void 0 ? void 0 : _scrollRef$current2.offsetHeight,
|
|
46217
46217
|
backgroundColor: backgroundColor || background
|
|
46218
46218
|
}, /*#__PURE__*/React__default.createElement(DropAttachmentArea, {
|
package/index.modern.js
CHANGED
|
@@ -45569,7 +45569,7 @@ var createMessageMarkerBatcher = function createMessageMarkerBatcher(_ref) {
|
|
|
45569
45569
|
|
|
45570
45570
|
var _templateObject$P, _templateObject2$K, _templateObject3$C, _templateObject4$x, _templateObject5$s, _templateObject6$o, _templateObject7$m, _templateObject8$k, _templateObject9$h, _templateObject0$g, _templateObject1$e, _templateObject10$b, _templateObject11$8;
|
|
45571
45571
|
var MessageList = function MessageList(_ref) {
|
|
45572
|
-
var _scrollRef$current, _scrollRef$current2;
|
|
45572
|
+
var _scrollRef$current, _scrollRef$current$of, _scrollRef$current2;
|
|
45573
45573
|
var fontFamily = _ref.fontFamily,
|
|
45574
45574
|
_ref$ownMessageOnRigh = _ref.ownMessageOnRightSide,
|
|
45575
45575
|
ownMessageOnRightSide = _ref$ownMessageOnRigh === void 0 ? true : _ref$ownMessageOnRigh,
|
|
@@ -46211,7 +46211,7 @@ var MessageList = function MessageList(_ref) {
|
|
|
46211
46211
|
id: 'draggingContainer',
|
|
46212
46212
|
draggable: true,
|
|
46213
46213
|
onDragLeave: handleDragOut,
|
|
46214
|
-
topOffset: (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : _scrollRef$current.offsetTop,
|
|
46214
|
+
topOffset: ((_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : (_scrollRef$current$of = _scrollRef$current.offsetParent) === null || _scrollRef$current$of === void 0 ? void 0 : _scrollRef$current$of.offsetTop) || 0,
|
|
46215
46215
|
height: (_scrollRef$current2 = scrollRef.current) === null || _scrollRef$current2 === void 0 ? void 0 : _scrollRef$current2.offsetHeight,
|
|
46216
46216
|
backgroundColor: backgroundColor || background
|
|
46217
46217
|
}, /*#__PURE__*/React__default.createElement(DropAttachmentArea, {
|