Skip to content

Popover position broken when <popover> is inside a relatively positioned element #27

Open
@diachedelic

Description

@diachedelic

The issue was introduced here (I've tested this), which was released in v1.1.7 (I had no issue in prior versions).

I have the issue that my popovers now appear hundreds of pixels away from their handle.

Specific change was this:

-      let { offsetLeft, offsetTop } = target
+      let offsetLeft = trRect.left
+      let offsetTop = trRect.top

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions