rampkit-expo-dev 0.0.12 → 0.0.13
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/build/RampkitOverlay.js +9 -3
- package/package.json +1 -1
package/build/RampkitOverlay.js
CHANGED
|
@@ -158,10 +158,16 @@ function hideRampkitOverlay() {
|
|
|
158
158
|
activeCloseHandler = null;
|
|
159
159
|
}
|
|
160
160
|
function closeRampkitOverlay() {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
// Try to drive the same animated close path as in the onboarding-finished event
|
|
162
|
+
try {
|
|
163
|
+
if (activeCloseHandler) {
|
|
164
|
+
activeCloseHandler();
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
catch (_) {
|
|
168
|
+
// fall through to hard hide
|
|
164
169
|
}
|
|
170
|
+
// Always fall back to a hard hide so the overlay is guaranteed to disappear
|
|
165
171
|
hideRampkitOverlay();
|
|
166
172
|
}
|
|
167
173
|
function preloadRampkitOverlay(opts) {
|
package/package.json
CHANGED