Skip to content

Nested previews are only partially visible #35

@Stvad

Description

@Stvad

If I preview link inside another preview, the internal preview is only partially visible.
This is because the outer preview box is in iframe and constraining what can potentially be visible.

Not entirely sure how to solve this so far. Ideally all tippy instances (even nested ones) would share the same shadow-root-container but that seems impossible with cross origin iframes

Other option is doing something like - internal click only send a signal to a parent, which actually does previews, but that'd require some rearchitecture

image

Also, it seems that nested previews don't work for fragment links because mutation observer doesn't get at the shadow root content

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions