@box/blueprint-web 6.41.4 → 6.41.5

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.
@@ -34,6 +34,9 @@ const SearchInputControlled = /*#__PURE__*/forwardRef((props, forwardedRef) => {
34
34
  switchCase({
35
35
  Enter: () => {
36
36
  e.preventDefault();
37
+ if (e.nativeEvent.isComposing) {
38
+ return;
39
+ } // prevents submitting when using Japanese IME
37
40
  onSubmit?.(value);
38
41
  },
39
42
  Escape: () => {
@@ -55,6 +55,9 @@ const SearchInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
55
55
  switchCase({
56
56
  Enter: () => {
57
57
  e.preventDefault();
58
+ if (e.nativeEvent.isComposing) {
59
+ return;
60
+ } // prevents submitting when using Japanese IME
58
61
  onSubmit?.(searchInputValue);
59
62
  },
60
63
  Escape: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "6.41.4",
3
+ "version": "6.41.5",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -57,7 +57,7 @@
57
57
  "devDependencies": {
58
58
  "@box/storybook-utils": "^0.0.7"
59
59
  },
60
- "gitHead": "b5ed1ad632534166f23319540e923b5c0c2064f0",
60
+ "gitHead": "0bc96094a0f38a70e9441a77566cb19c92b42193",
61
61
  "module": "lib-esm/index.js",
62
62
  "main": "lib-esm/index.js",
63
63
  "exports": {