atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.78k stars 517 forks source link

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

Open amanagr opened 8 months ago

amanagr commented 8 months ago

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.