svelte-intersection-observer icon indicating copy to clipboard operation
svelte-intersection-observer copied to clipboard

Detect if an element is in the viewport using the Intersection Observer API

Results 12 svelte-intersection-observer issues
Sort by recently updated
recently updated
newest added

``` {#if intersecting} {/if} ``` Regardless of the low threshold, the images only load when 100% intersected with the viewport. Is this a known issue, or am I doing something...

Currently intersection observer not always initialized after hydration. For example - https://github.com/MailCheck-co/mailcheck.site/blob/master/src/components/Partners.svelte It's live on https://www.mailcheck.co/ - if you will start scrolling during load it will never trigger. That PR...

Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.9 to 3.9.11. Release notes Sourced from vm2's releases. 3.9.11 New Features https://github.com/patriksimek/vm2/commit/58478a58c6f4af3c54faf4117ed5ab72d2cc8cd5: Add option require.strict to allow to load required modules in non strict mode. Fixes...

dependencies

Hi there. I'm seeking to use your module with Svelte 3.49 (and Meteor, but I don't think that matters for this question). I can run npm install --save github:metonym/svelte-intersection-observer#master to...

Jitter is caused when using multiple intersection observers, it works fine with one observer. Any idea why this is happening? what is the recommended approach to use multiple observers?

**My question is essentially how do we scroll to a specific element that have a transition effect?** So scroll into view scrolls to a specific element based on it's current...

Refactor the existing Svelte component with Svelte runes, ready for the Svelte 5 release

Not sure if this is an expected limitation or a bug, or perhaps specific to my project, but I get an infinite loop that locks up the app when I...

Would be handy to see how this works in an each loop in the examples

A common scenario is to have multiple elements for observing. Currently, the library only allows one element to be observed at a time. For large number of items, this is...