@firecms/ui 3.0.0-canary.138 → 3.0.0-canary.139
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/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/TextField.tsx +2 -2
package/dist/index.es.js
CHANGED
@@ -15814,7 +15814,7 @@ function TextField({
|
|
15814
15814
|
useEffect(() => {
|
15815
15815
|
if (type !== "number") return;
|
15816
15816
|
const handleWheel = (event) => {
|
15817
|
-
event.
|
15817
|
+
if (event.target instanceof HTMLElement) event.target.blur();
|
15818
15818
|
};
|
15819
15819
|
const element = "current" in inputRef ? inputRef.current : inputRef;
|
15820
15820
|
element.addEventListener("wheel", handleWheel);
|