Understanding weird behavior of getPos in a NodeView?

We’re using TipTap and I implemented a custom NodeView for the taskItems. Strangely, when we call the getPos() that is available in that context, it seems to give us the position of the taskList (parent) instead of for the taskItem.

It’s simple enough to add one to get our proper position, but I think this points to some misunderstanding on my part.

I wondered if anyone could clarify why getPos points to an item different from the node for the current NodeView?

It shouldn’t, and if you can isolate this in a minimal script, I can take a look to see what’s going on.