@lemon-fe/components 1.2.12-alpha.1 → 1.2.13
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.
|
@@ -40,10 +40,18 @@ export default /*#__PURE__*/forwardRef(function NumberEditor(props, ref) {
|
|
|
40
40
|
if (elm.current === null) {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
|
-
elm.current
|
|
43
|
+
var inputElm = elm.current;
|
|
44
|
+
inputElm.focus();
|
|
44
45
|
if (shouldSelect) {
|
|
45
|
-
|
|
46
|
+
inputElm.select();
|
|
46
47
|
}
|
|
48
|
+
var handleWheel = function handleWheel(e) {
|
|
49
|
+
e.preventDefault();
|
|
50
|
+
};
|
|
51
|
+
inputElm.addEventListener('wheel', handleWheel);
|
|
52
|
+
return function () {
|
|
53
|
+
inputElm.removeEventListener('wheel', handleWheel);
|
|
54
|
+
};
|
|
47
55
|
}, []);
|
|
48
56
|
var getFormatedValue = function getFormatedValue() {
|
|
49
57
|
var val;
|
package/es/data-grid/index.less
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemon-fe/components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"registry": "https://registry.npmjs.org"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "4658fd8d24c995f46acbb63d6a9e0827d28e23cf"
|
|
71
71
|
}
|