Skip to content

Commit 6420c05

Browse files
committed
fix(apply-box.js): put beacons into offsetParent container instead of target's direct parent
1 parent 0719813 commit 6420c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/apply-box.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const createContainer = (where, id, target) => {
7171
startingPoint.dataset.for = 'apply-box-starting-point';
7272

7373
where.appendChild(container);
74-
where.appendChild(startingPoint);
74+
target.offsetParent.appendChild(startingPoint);
7575

7676
observer.observe(target);
7777

0 commit comments

Comments
 (0)