Merge pull request #4339 from lcsfort/patch-1
fix: Correct parent node lookup in evaluateAbsolutePosition
This commit is contained in:
@@ -247,7 +247,7 @@ export function evaluateAbsolutePosition(
|
|||||||
const positionAbsolute = { ...position };
|
const positionAbsolute = { ...position };
|
||||||
|
|
||||||
while (nextParentId) {
|
while (nextParentId) {
|
||||||
const parent = nodeLookup.get(parentId);
|
const parent = nodeLookup.get(nextParentId);
|
||||||
nextParentId = parent?.parentId;
|
nextParentId = parent?.parentId;
|
||||||
|
|
||||||
if (parent) {
|
if (parent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user