+ 1
Why the elements are blinking so fast when isIntersecting is true
2 Respostas
+ 4
🐧😊 As it is an interesting topic so I respectfully invite you to share your knowledge about intersections.
Hi roshan roy
I edited your code, its need to add threshold of one and a root of null value.
whenever anything intersecting to page you can add or remove a css class through the target property.
I hope it could be helpful for you.
https://code.sololearn.com/W74Wt8e65W8i/?ref=app
+ 2
Why do you tag me on this thread?