Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

A way to turn off lazy loading Instagram embed? #22

Open
hal-efecan opened this issue Jun 2, 2020 · 1 comment
Open

A way to turn off lazy loading Instagram embed? #22

hal-efecan opened this issue Jun 2, 2020 · 1 comment

Comments

@hal-efecan
Copy link

Hey @PaulieScanlon

Is there a way to turn off lazy loading so that the Instagram embeds "pre-load"?

When i scroll down there's about 0.5 seconds where i have to wait for the embed to load.
Love the tool! btw

@PaulieScanlon
Copy link
Owner

Hey @hal-efecan Thanks for opening an issue.

At present unfortunately there's no option to turn this off.

It's kind of by design to be honest.

Without the lazy loading the lighthouse scores take a real beating because content is loading before its entered viewport. This was a recent upgrade as it happens mdx-embed-intersection-observer

There are some other issues pertaining to the idea of a global config and perhaps something for lazy loading should be part of this.

I'll keep this issue open and i'll add it to the list of things to do. But, i can't at the moment advise on when that might be or if indeed this type of functionality will be added.

Thanks again for your interest!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants