-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
I have a show/entity page that links to related shows. They both use the dynamic route entity/:entityId
.
I want to preserve the scrolled position on the first show page when when clicking through to the second show page and then back pressing to the original page by using keepAlive
.
However, the Router does not seem to allow preserving multiple instances of the same route, as cleanup is forced if the same route template is detected.
Lightning-SDK/src/Router/utils/router.js
Lines 411 to 414 in 092fe4b
// if the current and new request share the same route blueprint | |
if (activeRoute === request.route.path) { | |
doCleanup = true | |
} |
Metadata
Metadata
Assignees
Labels
No labels