Open physcopanda opened 5 years ago
Hi there - I've got an inline jpg and it only shows the placeholder - never gets replaced - any ideas where I might be going wrong?
`
</div>`
and in my rollup.config.js
const preprocess = [ image({ sizes: [300, 600, 900, 1200], optimizeAll: true, placeholder: "trace", trace: { background: "transparent", color: "#D473D4", threshold: 120 } }) ];
Sounds like something wrong with svelte-waypoint in this case. Can you try debugging to see if it's called correctly or possibly if it works if you change the value of threshold prop in Image.svelte?
threshold
Hi there - I've got an inline jpg and it only shows the placeholder - never gets replaced - any ideas where I might be going wrong?
`
and in my rollup.config.js
const preprocess = [ image({ sizes: [300, 600, 900, 1200], optimizeAll: true, placeholder: "trace", trace: { background: "transparent", color: "#D473D4", threshold: 120 } }) ];
Sounds like something wrong with svelte-waypoint in this case. Can you try debugging to see if it's called correctly or possibly if it works if you change the value of
threshold
prop in Image.svelte?