@noraent/nora-datagrid 0.0.22 → 0.0.24
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/cjs/app.scss
CHANGED
|
@@ -9,7 +9,7 @@ $--nora-data-grid-primary-main: red;
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* 전체 페이지에 커스텀 스크롤바 적용 */
|
|
12
|
-
|
|
12
|
+
.nora-data-grid-container {
|
|
13
13
|
scrollbar-width: none;
|
|
14
14
|
-ms-overflow-style: none;
|
|
15
15
|
|
|
@@ -36,7 +36,7 @@ body {
|
|
|
36
36
|
width: 10px;
|
|
37
37
|
height: 10px;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
.nora-data-grid-container:hover ::-webkit-scrollbar {
|
|
40
40
|
width: 10px;
|
|
41
41
|
height: 10px;
|
|
42
42
|
}
|
|
@@ -106,6 +106,9 @@ const IMEComponent = React.forwardRef((props, ref) => {
|
|
|
106
106
|
React.useEffect(() => {
|
|
107
107
|
setImeValue("");
|
|
108
108
|
}, [cellFocus]);
|
|
109
|
-
return (_jsx("textarea", {
|
|
109
|
+
return (_jsx("textarea", {
|
|
110
|
+
// 그리드에 포커스 중일때만 활성화하기
|
|
111
|
+
// autoFocus
|
|
112
|
+
className: "ime-input", ref: ref, style: { position: "absolute", resize: "none", overflow: "hidden", background: "red", top: `-${32000}px`, left: `-${32000}px` }, value: imeValue, onChange: handleValueChange, onKeyDown: handleKeyDown }));
|
|
110
113
|
});
|
|
111
114
|
export default React.memo(IMEComponent);
|
package/lib/esm/app.scss
CHANGED
|
@@ -9,7 +9,7 @@ $--nora-data-grid-primary-main: red;
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* 전체 페이지에 커스텀 스크롤바 적용 */
|
|
12
|
-
|
|
12
|
+
.nora-data-grid-container {
|
|
13
13
|
scrollbar-width: none;
|
|
14
14
|
-ms-overflow-style: none;
|
|
15
15
|
|
|
@@ -36,7 +36,7 @@ body {
|
|
|
36
36
|
width: 10px;
|
|
37
37
|
height: 10px;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
.nora-data-grid-container:hover ::-webkit-scrollbar {
|
|
40
40
|
width: 10px;
|
|
41
41
|
height: 10px;
|
|
42
42
|
}
|
|
@@ -106,6 +106,9 @@ const IMEComponent = React.forwardRef((props, ref) => {
|
|
|
106
106
|
React.useEffect(() => {
|
|
107
107
|
setImeValue("");
|
|
108
108
|
}, [cellFocus]);
|
|
109
|
-
return (_jsx("textarea", {
|
|
109
|
+
return (_jsx("textarea", {
|
|
110
|
+
// 그리드에 포커스 중일때만 활성화하기
|
|
111
|
+
// autoFocus
|
|
112
|
+
className: "ime-input", ref: ref, style: { position: "absolute", resize: "none", overflow: "hidden", background: "red", top: `-${32000}px`, left: `-${32000}px` }, value: imeValue, onChange: handleValueChange, onKeyDown: handleKeyDown }));
|
|
110
113
|
});
|
|
111
114
|
export default React.memo(IMEComponent);
|