-
Notifications
You must be signed in to change notification settings - Fork 914
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
Option to disable popover autoUpdate #2555
Comments
@edenstrom did you ever get this to work like the linear app? |
Any update on this? |
We need a way to disable this behavior easily. |
It would be great to have control over this. |
Seems like there's an open PR adding that. Hope it gets approved soon |
As you can see in the issue's video example, the Trigger needs to be the Anchor. Also, if the Anchor comes after the dynamic child, it will cause the same behavior. |
Feature request
Overview
Currently when the anchor/trigger is moved, the Popover is moved accordingly.
99% of the time, this is the expected behavior.
We want to replicate a similar UI as Linear where the actual trigger of the popover changes size/position. The popover itself should not move though.
CleanShot.2023-11-30.at.13.38.19.mp4
We can sort-of get it solved by adding a position absolute div as an anchor, but not the most beautiful solution.
Who does this impact? Who is this for?
I would say it's a pretty niche feature, but usable for features where the Popover modifies the anchor.
Additional context
Minimal reproduction of the issue: CodeSandbox link
Maybe I've missed some setting that exists that can solve it.
Related issues:
The text was updated successfully, but these errors were encountered: