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

[BUG] - Popover animate in the wrong direction on first open (auto placement) #4290

Closed
AnYiEE opened this issue Dec 9, 2024 · 1 comment · Fixed by #4460
Closed

[BUG] - Popover animate in the wrong direction on first open (auto placement) #4290

AnYiEE opened this issue Dec 9, 2024 · 1 comment · Fixed by #4460
Assignees
Labels
🐛 Type: Bug Something isn't working

Comments

@AnYiEE
Copy link
Contributor

AnYiEE commented Dec 9, 2024

          @ryo-manba Combined with the reproduction environment provided by Peterl561, it seems that when displaying the initial animation, the animation starts from the `placement` instead of the calculated position. For example, in the reproduction environment, `placement="right"` is specified, but there is no space on the right side, so the content card automatically adjusts to pop out from the left side, but the animation does not change accordingly. For me, I did not specify the `placement`, and the Popover defaults to popping up, but there is no space above, so the content card can only pop down, yet the initial animation still assumes it is popping up.

Originally posted by @AnYiEE in #4251 (comment)

Copy link

linear bot commented Dec 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants