@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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. 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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uiwwsw/virtual-keyboard",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "types": "dist/types/index.d.ts",
6
6
  "main": "dist/index.js",