@uiwwsw/virtual-keyboard 0.5.1 → 0.5.2
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.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1043,6 +1043,7 @@ function useKeypadInteraction({
|
|
|
1043
1043
|
}
|
|
1044
1044
|
}, [dispatchKeyEvent, startRepeat, keyBoundsRef]);
|
|
1045
1045
|
const handlePointerMove = useCallback3((e) => {
|
|
1046
|
+
e.preventDefault();
|
|
1046
1047
|
const press = activePresses.current.get(e.pointerId);
|
|
1047
1048
|
if (!press)
|
|
1048
1049
|
return;
|
|
@@ -1073,6 +1074,7 @@ function useKeypadInteraction({
|
|
|
1073
1074
|
}
|
|
1074
1075
|
}, [clearRepeat, dispatchKeyEvent, startRepeat, keyBoundsRef]);
|
|
1075
1076
|
const handlePointerUp = useCallback3((e) => {
|
|
1077
|
+
e.preventDefault();
|
|
1076
1078
|
const press = activePresses.current.get(e.pointerId);
|
|
1077
1079
|
if (press) {
|
|
1078
1080
|
clearRepeat(press);
|