@gisce/react-ooui 1.2.0-rc.19 → 1.2.0-rc.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "1.2.0-rc.19",
3
+ "version": "1.2.0-rc.20",
4
4
  "files": [
5
5
  "dist",
6
6
  "src",
@@ -232,7 +232,7 @@ export const Many2oneInput: React.FC<Many2oneInputProps> = (
232
232
  }
233
233
 
234
234
  async function onKeyDown(event: any) {
235
- if (event.code === "Enter") {
235
+ if (event.keyCode === 13) {
236
236
  event.preventDefault();
237
237
  event.stopPropagation();
238
238
  await onElementLostFocus();