@momo-kits/native-kits 0.164.1-beta.7-debug → 0.164.1-beta.8-debug

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.
@@ -40,7 +40,7 @@ kotlin {
40
40
  }
41
41
 
42
42
  cocoapods {
43
- version = "0.164.1-beta.7-debug"
43
+ version = "0.164.1-beta.8-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |spec|
2
2
  spec.name = 'compose'
3
- spec.version = '0.164.1-beta.7-debug'
3
+ spec.version = '0.164.1-beta.8-debug'
4
4
  spec.homepage = 'https://momo.vn'
5
5
  spec.source = { :http=> ''}
6
6
  spec.authors = ''
@@ -51,9 +51,16 @@ object HostBackGestureBridge {
51
51
  gestureInput?.backProgressed(progress.coerceIn(0f, 1f))
52
52
  }
53
53
 
54
- /** Released past the commit threshold: the screen pops. */
54
+ /**
55
+ * Released past the commit threshold: the screen pops.
56
+ *
57
+ * Falls back to the attached input when no drag was started, so a host that commits without
58
+ * ever seeking still gets a back. Dispatching a bare completion is the documented
59
+ * non-predictive path — the same shape as a back button press — and dropping it here is what
60
+ * silently stranded the mini-app root, where the host never seeks.
61
+ */
55
62
  fun completed() = onMain {
56
- gestureInput?.backCompleted()
63
+ (gestureInput ?: attachedInputs.lastOrNull())?.backCompleted()
57
64
  gestureInput = null
58
65
  }
59
66
 
package/gradle.properties CHANGED
@@ -18,7 +18,7 @@ kotlin.apple.xcodeCompatibility.nowarn=true
18
18
  name="ComposeKits"
19
19
  group=vn.momo.kits
20
20
  artifact.id=kits
21
- version=0.164.1-beta.7
21
+ version=0.164.1-beta.8
22
22
 
23
23
  repo=GitLab
24
24
  url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'MoMoUIKits'
3
- s.version = '0.164.1-beta.7'
3
+ s.version = '0.164.1-beta.8'
4
4
  s.summary = 'MoMoUIKits for iOS'
5
5
  s.homepage = 'https://momo.vn'
6
6
  s.license = { :type => 'MIT' }
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'MoMoUIKitsDemo'
3
- s.version = '0.164.1-beta.7'
3
+ s.version = '0.164.1-beta.8'
4
4
  s.summary = 'Demo browser for MoMoUIKits SwiftUI components'
5
5
  s.homepage = 'https://momo.vn'
6
6
  s.license = { :type => 'MIT' }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.164.1-beta.7-debug",
3
+ "version": "0.164.1-beta.8-debug",
4
4
  "private": false,
5
5
  "dependeNavigationncies": {},
6
6
  "devDependencies": {},