When clicking links while inside a frame, the Turbo-Frame header will be set.
This helps the backend to know this is a frame request and for instance to not render layout.
When submitting a form, this header is not set, I think it should be.
Example : To respect progressive enhancement, we should be able to return a frame when the request comes from turbo, but perform a redirection when not.
When clicking links while inside a frame, the
Turbo-Frameheader will be set.This helps the backend to know this is a frame request and for instance to not render layout.
When submitting a form, this header is not set, I think it should be.
Example : To respect progressive enhancement, we should be able to return a frame when the request comes from turbo, but perform a redirection when not.