Michael Rafailyk

Results 9 comments of Michael Rafailyk

> Hi > > Is it possible to add callback function while steps of animation? This would be nice. We can make ajax call for example...is there any way to...

I tried next scheme. When the Observer starts to see an element in the viewport, the window scroll event listener starts to watch this element. When an element leaves the...

All right, we can add `rootMargin` with `0px 100vw` to `IntersectionObserver`, it is extend range of watching horizontally. ![problem-explanation](https://user-images.githubusercontent.com/56036489/104785818-1ee48080-5794-11eb-8d03-1b889fe9e8da.png) 1 situation. Element outside of viewport horizontally (but in range of...

One more way how to watch element out of viewport. - Use a `while` to check if either parent has an `overflow: hidden`. - If yes – we create a...

I figured out, when scrolling fast, Intersection Observer is missing a moment of intersection about 1/4 of second. It mean if user scrolling very fast he can loose a first...

@Hirbod big thanks for your recommendations, materials and participation in the life of the project! I keep working on it.

Hi! Can you provide a live sample where the issue happens?

@pasyuk Looks logical. Which browser do you use to reproduce this issue?

Don't know why but I can't reproduce that behavior on Chrome on macOS. I quickly tested your improvement in my demo layout and some elements just disappears on desktop Safari...