@easyv/charts 1.7.32 → 1.7.33
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/lib/components/Legend.js
CHANGED
|
@@ -131,7 +131,8 @@ var _default = exports["default"] = /*#__PURE__*/(0, _react.memo)(function (_ref
|
|
|
131
131
|
display: 'flex'
|
|
132
132
|
}, getPosition(position, _alignment, x, y)), {}, {
|
|
133
133
|
height: loop.show ? height : 'auto',
|
|
134
|
-
overflowY: loop.show ? 'scroll' : 'auto'
|
|
134
|
+
overflowY: loop.show ? 'scroll' : 'auto',
|
|
135
|
+
pointerEvents: "none" //鼠标穿透
|
|
135
136
|
}),
|
|
136
137
|
ref: ref_container
|
|
137
138
|
}, /*#__PURE__*/_react["default"].createElement("ul", {
|
|
@@ -182,7 +183,8 @@ var _default = exports["default"] = /*#__PURE__*/(0, _react.memo)(function (_ref
|
|
|
182
183
|
}, getPosition(position, _alignment, x, y)), {}, {
|
|
183
184
|
height: loop.show ? height : 'auto',
|
|
184
185
|
overflowY: loop.show ? 'scroll' : 'auto',
|
|
185
|
-
width: "100%"
|
|
186
|
+
width: "100%",
|
|
187
|
+
pointerEvents: "none"
|
|
186
188
|
}),
|
|
187
189
|
ref: ref_container
|
|
188
190
|
}, (0, _toConsumableArray2["default"])(Array(Math.ceil(series.length / gridTemplateColumns))).map(function (_, indexs) {
|
package/package.json
CHANGED
package/src/components/Legend.js
CHANGED
|
@@ -110,6 +110,7 @@ export default memo(
|
|
|
110
110
|
...getPosition(position, _alignment, x, y),
|
|
111
111
|
height: loop.show ? height : 'auto',
|
|
112
112
|
overflowY: loop.show ? 'scroll' : 'auto',
|
|
113
|
+
pointerEvents:"none"//鼠标穿透
|
|
113
114
|
}}
|
|
114
115
|
ref={ref_container}
|
|
115
116
|
>
|
|
@@ -166,7 +167,8 @@ export default memo(
|
|
|
166
167
|
...getPosition(position, _alignment, x, y),
|
|
167
168
|
height: loop.show ? height : 'auto',
|
|
168
169
|
overflowY: loop.show ? 'scroll' : 'auto',
|
|
169
|
-
width:"100%"
|
|
170
|
+
width:"100%",
|
|
171
|
+
pointerEvents:"none"
|
|
170
172
|
}}
|
|
171
173
|
ref={ref_container}
|
|
172
174
|
>
|