floating-ui icon indicating copy to clipboard operation
floating-ui copied to clipboard

Scrolling with the attachment

Open sbesh91 opened this issue 2 years ago • 1 comments

I liked being able to control the application of styles in a much finer tuned way with this library. Coming from popper v2 I'm used to the floating elements sticking to their referenced element when the referenced element scrolls out of view. I can't seem to find how to do that with floating-ui just yet. Is this a planned feature or did I miss something in the docs?

sbesh91 avatar Dec 08 '21 02:12 sbesh91

You control everything including listeners, see https://www.floating-ui.com/docs/computePosition#updating

atomiks avatar Dec 08 '21 06:12 atomiks