@_unit/unit 1.0.20 → 1.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -281,8 +281,8 @@ export class PositionObserver implements IPositionObserver {
281
281
  const update_parent = () => {
282
282
  const { offsetParent, parentElement } = element
283
283
 
284
- // const targetParent = parentElement
285
- const targetParent = offsetParent
284
+ const targetParent = parentElement
285
+ // const targetParent = offsetParent
286
286
 
287
287
  if (targetParent) {
288
288
  const scrollParentUnlisten: Unlisten[] = []