craft-native 0.0.218 → 0.0.219
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/dist/cli.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/ios/templates/CraftNativeScreen.swift +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3424,7 +3424,7 @@ function pinCraftNativeDependency(packagePath, craftVersion) {
|
|
|
3424
3424
|
`);
|
|
3425
3425
|
}
|
|
3426
3426
|
// package.json
|
|
3427
|
-
var version = "0.0.
|
|
3427
|
+
var version = "0.0.219";
|
|
3428
3428
|
|
|
3429
3429
|
// bin/cli.ts
|
|
3430
3430
|
var spawnedFrom = process6.env[CRAFT_CLI_SPAWN_MARKER];
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -5709,7 +5709,10 @@ final class CraftNativeScreenController: UIViewController, UIScrollViewDelegate,
|
|
|
5709
5709
|
}
|
|
5710
5710
|
|
|
5711
5711
|
private func restoreFocus(_ focused: UIView?) {
|
|
5712
|
-
guard let focused, focused.window != nil, !focused.isFirstResponder
|
|
5712
|
+
guard let focused, focused.window != nil, !focused.isFirstResponder,
|
|
5713
|
+
lastFocusedInput === focused, firstResponder(in: rootStack) == nil else { return }
|
|
5714
|
+
// A delayed acknowledgement belongs to the input that scheduled it.
|
|
5715
|
+
// A newer field or an explicit dismissal owns focus now.
|
|
5713
5716
|
_ = focused.becomeFirstResponder()
|
|
5714
5717
|
}
|
|
5715
5718
|
|