reuters-graphics/graphics-svelte-components

BeforeAfter slider gets stuck

Closed this issue · 0 comments

Basically because of this issue, on:load isn't always reliable when attached to an image in Svelte, as far as I can tell. And b/c a load event doesn't fire, we never measure the image to get the required offset for sliding.