Description
I have been having troubles with frames with lazy loading after a restoration visit. It doesn't load when src changes (using a link with a data-turbo-frame
). Removing the lazy in the inspector, it makes the frame to work again.
turbo/src/core/frames/frame_controller.ts
Line 116 in 4593d06
if (this.loadingStyle == FrameLoadingStyle.eager || this.hasBeenLoaded) {
I have been digging into the code and after a restoration visit the loadSourceURL()
doesn't get called because of loading lazy and the status of the hasBeenLoaded
is false (lost value after the cache is loaded).
I am not sure about this because I don't have the full scope. Can someone verify this?
Version: v7.3.0
Metadata
Assignees
Labels
No labels
Activity