Lazy loading for ggplotly in R

Dear Plotly community members,

I am using the ggplotly function in R which automatically converts ggplot objects to a plotly object. Specifically, I include these plots in a self-contained Markdown/Quarto HTML document. As I’m including many such plots the HTML file loads quite slowly (sometimes 30 seconds).

Does there exist a way to activate lazy loading for the plotly charts that I generate using the ggplotly function?

Thank you for any suggestions!

I’ve been looking at this for ages and did not find anything. To us it makes plotly unusable which is a shame.
The fact that you’re using R on top of this makes it even more difficult to get answers plotly defacto abandoned R development