@applicaster/zapp-react-dom-app 13.0.0-alpha.5255052345 → 13.0.0-alpha.5284645460

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.
@@ -584,6 +584,12 @@ class InteractionManagerClass extends React.Component<Props, State> {
584
584
  focusManager.moveFocus(direction);
585
585
  }
586
586
 
587
+ if (!isDialogVisible) {
588
+ // run focus recovery on user interaction attempt
589
+ // probably we failed to set initial focus for some reason
590
+ focusManager.resetFocus();
591
+ }
592
+
587
593
  if (
588
594
  displayState === DISPLAY_STATES.PLAYER ||
589
595
  displayState === DISPLAY_STATES.HUD
@@ -699,7 +705,7 @@ class InteractionManagerClass extends React.Component<Props, State> {
699
705
  },
700
706
  () => {
701
707
  this.isDismissing = false;
702
- focusManager.recoverFocus();
708
+ focusManager.resetFocus();
703
709
  }
704
710
  );
705
711
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-dom-app",
3
- "version": "13.0.0-alpha.5255052345",
3
+ "version": "13.0.0-alpha.5284645460",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
24
24
  "dependencies": {
25
- "@applicaster/zapp-react-dom-ui-components": "13.0.0-alpha.5255052345",
26
- "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.5255052345",
27
- "@applicaster/zapp-react-native-redux": "13.0.0-alpha.5255052345",
28
- "@applicaster/zapp-react-native-ui-components": "13.0.0-alpha.5255052345",
29
- "@applicaster/zapp-react-native-utils": "13.0.0-alpha.5255052345",
25
+ "@applicaster/zapp-react-dom-ui-components": "13.0.0-alpha.5284645460",
26
+ "@applicaster/zapp-react-native-bridge": "13.0.0-alpha.5284645460",
27
+ "@applicaster/zapp-react-native-redux": "13.0.0-alpha.5284645460",
28
+ "@applicaster/zapp-react-native-ui-components": "13.0.0-alpha.5284645460",
29
+ "@applicaster/zapp-react-native-utils": "13.0.0-alpha.5284645460",
30
30
  "abortcontroller-polyfill": "^1.7.5",
31
31
  "react-router-dom": "^5.1.2",
32
32
  "typeface-montserrat": "^0.0.54",
@@ -40,12 +40,12 @@
40
40
  "@types/node": "*",
41
41
  "core-js": "3.29.1",
42
42
  "immer": "*",
43
- "react": "17.0.2",
44
- "react-dom": "17.0.2",
43
+ "react": "*",
44
+ "react-dom": "*",
45
45
  "react-native": "*",
46
46
  "react-native-safe-area-context": "*",
47
47
  "react-native-svg": "*",
48
- "react-native-web": "0.18.11",
48
+ "react-native-web": "*",
49
49
  "uglify-js": "*",
50
50
  "validate-color": "*",
51
51
  "zustand": "*"