turbolinks_render icon indicating copy to clipboard operation
turbolinks_render copied to clipboard

turbolinks:render event

Open foulkesjohn opened this issue 4 years ago • 1 comments

Hi,

Does this gem block the turbolinks:render and turbolinks:before-render events from firing? I have some js that is firing for turbolinks:load but not these two events.

Thanks!

foulkesjohn avatar May 29 '20 14:05 foulkesjohn

I've done a bit more digging, it looks like the callback that fires the render event isn't called: https://github.com/jorgemanrubia/turbolinks_render/blob/master/lib/turbolinks_render/middleware.rb#L53. Is this done for a reason?

foulkesjohn avatar May 29 '20 14:05 foulkesjohn