Skip to content
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 opened this issue Feb 2, 2022 · 0 comments
Open

Singleton + Headless mode - Arrow has no position #346

ghost opened this issue Feb 2, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 2, 2022

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants