dtable-ui-component 0.1.90-test → 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.
|
@@ -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
|
|
|
@@ -130,7 +132,7 @@ var SimpleLongTextFormatter = /*#__PURE__*/function (_React$Component) {
|
|
|
130
132
|
|
|
131
133
|
var isPreview = this.state.isPreview;
|
|
132
134
|
var containerClassName = this.props.containerClassName;
|
|
133
|
-
var className = cn('dtable-ui cell-formatter-container long-text-formatter', containerClassName);
|
|
135
|
+
var className = cn('dtable-ui cell-formatter-container long-text-formatter xx', containerClassName);
|
|
134
136
|
var value = this.translateValue();
|
|
135
137
|
return /*#__PURE__*/React.createElement("div", {
|
|
136
138
|
className: className,
|