We've got turbo:before-stream-render but it would also be helpful to have an event fire after the rendering has occurred as well.
My use-case is that the new DOM element is rendered into a scrollable window, so I'd like to scroll the new element into view after it's been rendered. It doesn't appear as though there is any event I can currently hook into that will let me perform this action after the DOM update has occurred.
We've got
turbo:before-stream-render
but it would also be helpful to have an event fire after the rendering has occurred as well.My use-case is that the new DOM element is rendered into a scrollable window, so I'd like to scroll the new element into view after it's been rendered. It doesn't appear as though there is any event I can currently hook into that will let me perform this action after the DOM update has occurred.