Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Scrolling with the attachment #34

Open
sbesh91 opened this issue Dec 8, 2021 · 1 comment
Open

Scrolling with the attachment #34

sbesh91 opened this issue Dec 8, 2021 · 1 comment

Comments

@sbesh91
Copy link

sbesh91 commented Dec 8, 2021

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?

@atomiks
Copy link
Owner

atomiks commented Dec 8, 2021

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

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

2 participants