dtable-ui-component 0.1.90-test2 → 0.1.90-test3
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.
|
@@ -82,7 +82,7 @@ var HtmlLongTextFormatter = /*#__PURE__*/function (_Component) {
|
|
|
82
82
|
value: function render() {
|
|
83
83
|
var innerHtml = this.state.innerHtml;
|
|
84
84
|
var containerClassName = this.props.containerClassName;
|
|
85
|
-
var className = cn('dtable-ui cell-formatter-container long-text-formatter
|
|
85
|
+
var className = cn('dtable-ui cell-formatter-container long-text-formatter', containerClassName);
|
|
86
86
|
if (!innerHtml) return null;
|
|
87
87
|
return /*#__PURE__*/React.createElement("div", {
|
|
88
88
|
className: "".concat(className, " article"),
|
|
@@ -84,16 +84,18 @@ var SimpleLongTextFormatter = /*#__PURE__*/function (_React$Component) {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
_this.onMouseEnter = function () {
|
|
87
|
-
// In link formula, when mouse enter, don't open preview
|
|
87
|
+
console.log('mouse Enter:'); // In link formula, when mouse enter, don't open preview
|
|
88
88
|
|
|
89
89
|
/*
|
|
90
90
|
if (this.props.isFormulaFormatter) {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
93
|
*/
|
|
94
|
-
_this.clearTimer();
|
|
95
94
|
|
|
96
|
-
if (!window.isMobile &&
|
|
95
|
+
_this.clearTimer(); //if (!window.isMobile && this.state.value && this.state.value.text) {
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
if (_this.props.value) {
|
|
97
99
|
_this.timer = setTimeout(function () {
|
|
98
100
|
var style = _this.ref.getBoundingClientRect();
|
|
99
101
|
|