We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10f7bd9 commit 9daeffdCopy full SHA for 9daeffd
src/lib/Image/observer.js
@@ -63,8 +63,8 @@ export function unobserve(element, obs) {
63
64
function excute(entries) {
65
entries.forEach(each => {
66
- const { target, intersectionRatio } = each
67
- if(intersectionRatio > 0) {
+ const { target, intersectionRatio, isIntersecting } = each
+ if(intersectionRatio > 0 || isIntersecting) {
68
const tar = targets.get(target)
69
if(tar) {
70
tar.cb(each)
0 commit comments