I tried redirecting to a path with anchor specified (redirect_to root_path, anchor: 'anchor')) during turbo stream response but it always goes to the top of the page (as if anchor was not specified). Is there a way to make TURBO_STREAM redirect handle anchors? I noticed that using anchors works correctly with links thou.
I tried redirecting to a path with anchor specified (
redirect_to root_path, anchor: 'anchor')
) during turbo stream response but it always goes to the top of the page (as if anchor was not specified). Is there a way to make TURBO_STREAM redirect handle anchors? I noticed that using anchors works correctly with links thou.