Is there a way to pass a rootmargin to turbo frames lazy loading?

Hi folks,

I’m trying out the lazy-loading mode of turbo-frames and it works like a charm.
However I’m wondering if it’s possible to pass a rootMargin to its intersectionObserver or maybe wrap it with a stimulus controller so we can start loading slightly ahead of when the next frame gets visible.

Thanks a lot :pray:

This thread might help.