Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singleton + Headless mode - Arrow has no position #346

Open
danr-za opened this issue Feb 2, 2022 · 0 comments
Open

Singleton + Headless mode - Arrow has no position #346

danr-za opened this issue Feb 2, 2022 · 0 comments

Comments

@danr-za
Copy link

danr-za 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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant