@yuneta/gobj-ui 5.3.1 → 5.3.2
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/gobj-ui.cjs.js +2 -1
- package/dist/gobj-ui.es.js +2 -1
- package/package.json +1 -1
- package/src/c_yui_shell.js +7 -1
package/dist/gobj-ui.cjs.js
CHANGED
|
@@ -2213,7 +2213,8 @@ function push_overlay_history(gobj, close, opts) {
|
|
|
2213
2213
|
let entry = {
|
|
2214
2214
|
id: ++priv.overlay_seq,
|
|
2215
2215
|
close,
|
|
2216
|
-
hash: window.location.hash
|
|
2216
|
+
hash: window.location.hash,
|
|
2217
|
+
keep_on_navigate: !!(opts && opts.keep_on_navigate)
|
|
2217
2218
|
};
|
|
2218
2219
|
priv.overlay_stack.push(entry);
|
|
2219
2220
|
try {
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -2208,7 +2208,8 @@ function push_overlay_history(gobj, close, opts) {
|
|
|
2208
2208
|
let entry = {
|
|
2209
2209
|
id: ++priv.overlay_seq,
|
|
2210
2210
|
close,
|
|
2211
|
-
hash: window.location.hash
|
|
2211
|
+
hash: window.location.hash,
|
|
2212
|
+
keep_on_navigate: !!(opts && opts.keep_on_navigate)
|
|
2212
2213
|
};
|
|
2213
2214
|
priv.overlay_stack.push(entry);
|
|
2214
2215
|
try {
|
package/package.json
CHANGED
package/src/c_yui_shell.js
CHANGED
|
@@ -2389,7 +2389,13 @@ function push_overlay_history(gobj, close, opts)
|
|
|
2389
2389
|
* route (a `stay` action route parks the URL off it). Kept in sync
|
|
2390
2390
|
* by the silent replaceState fix-up in navigate_to(). */
|
|
2391
2391
|
let entry = { id: ++priv.overlay_seq, close: close,
|
|
2392
|
-
hash: window.location.hash
|
|
2392
|
+
hash: window.location.hash,
|
|
2393
|
+
/* Read by drain_overlays: a navigation PANEL survives a
|
|
2394
|
+
* resting-route change. Dropping it here left the whole
|
|
2395
|
+
* opt-out dead for overlays — invisible while the only
|
|
2396
|
+
* app exercising it had a window manager, because a
|
|
2397
|
+
* dock-managed window registers no overlay at all. */
|
|
2398
|
+
keep_on_navigate: !!(opts && opts.keep_on_navigate) };
|
|
2393
2399
|
priv.overlay_stack.push(entry);
|
|
2394
2400
|
try {
|
|
2395
2401
|
window.history.pushState({ __yui_overlay__: entry.id }, "");
|