@applicaster/zapp-react-native-utils 12.0.0-alpha.5208030571 → 12.0.0-alpha.5350212300

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.
@@ -449,6 +449,8 @@ export const focusManager = (function () {
449
449
  }
450
450
 
451
451
  async function setFocusOnMenu(currentRoute: string) {
452
+ console.log("debug_2", "FM - setFocusOnMenu", { currentRoute });
453
+
452
454
  try {
453
455
  await waitForActiveScreen(currentRoute, focusableTree);
454
456
 
@@ -480,6 +482,8 @@ export const focusManager = (function () {
480
482
  }
481
483
 
482
484
  async function setFocusOnContent(currentRoute: string) {
485
+ console.log("debug_2", "FM - setFocusOnContent", { currentRoute });
486
+
483
487
  // we need to put focus on content here
484
488
  // For doing it we have to wait registration of first focusable node into focusableTree
485
489
  // this is the temporary hack with waiting until content node starts having children
@@ -59,7 +59,7 @@ export const waitForContent = (focusableTree) => {
59
59
  };
60
60
 
61
61
  return waitUntil({
62
- maxTimeout: 1000, //ms
62
+ maxTimeout: 2500, //ms
63
63
  conditionFn: contentHasAnyChildren,
64
64
  });
65
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-utils",
3
- "version": "12.0.0-alpha.5208030571",
3
+ "version": "12.0.0-alpha.5350212300",
4
4
  "description": "Applicaster Zapp React Native utilities package",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://github.com/applicaster/quickbrick#readme",
30
30
  "dependencies": {
31
- "@applicaster/applicaster-types": "12.0.0-alpha.5208030571",
31
+ "@applicaster/applicaster-types": "12.0.0-alpha.5350212300",
32
32
  "buffer": "^5.2.1",
33
33
  "camelize": "^1.0.0",
34
34
  "create-react-context": "^0.2.3",