Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Singleton + Headless mode - Arrow has no position #346

Open
@ghost

Description

I have a component that leverages headless mode and uses popper's modifiers to custom the arrow.
When using a singleton, the targets have an additional modifier, so it looks like:

popperOptions: {
   modifiers: [
     { name: 'arrow', options: { element: undefined } },
     { name: 'arrow', options: { element: HTMLElement } }
   ...
  ] 
}

Because of that, their arrow has no positioning set at all.
What's the best workaround for this?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions