We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 56aae94 + 2df77f1 commit dda9039Copy full SHA for dda9039
app/domSyncer/DomSyncer.tsx
@@ -129,12 +129,12 @@ export const DomSyncer = ({ state }: { state: number }) => {
129
130
contentArr.current.forEach((content, i) => {
131
if (
132
- domSyncerObj.domRects[i] &&
+ domSyncerObj.DOMRects[i] &&
133
domSyncerObj.isIntersecting(i, false)
134
) {
135
content.style.opacity = "1.0";
136
- content.style.top = `${domSyncerObj.domRects[i].top}px`;
137
- content.style.left = `${domSyncerObj.domRects[i].left}px`;
+ content.style.top = `${domSyncerObj.DOMRects[i].top}px`;
+ content.style.left = `${domSyncerObj.DOMRects[i].left}px`;
138
}
139
});
140
0 commit comments