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

Is there a reason to reset state.attributes.popper? #1141

Open
amanagr opened this issue Oct 24, 2023 · 0 comments
Open

Is there a reason to reset state.attributes.popper? #1141

amanagr opened this issue Oct 24, 2023 · 0 comments

Comments

@amanagr
Copy link

amanagr commented Oct 24, 2023

https://github.com/atomiks/tippyjs/blame/ad85f6feb79cf6c5853c43bf1b2a50c4fa98e7a1/src/createTippy.ts#L629

I wanted to use it to know reference-hidden. Let me know if there is a better method that I am missing?

I know I can use state.elements.popover to determine it via [data-reference-hidden] but it would have been better to access it via state.attributes.poppper.

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