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

Smoothly realign popover when size changes #166

Open
cfinlinson-incomm opened this issue Jul 1, 2019 · 0 comments
Open

Smoothly realign popover when size changes #166

cfinlinson-incomm opened this issue Jul 1, 2019 · 0 comments

Comments

@cfinlinson-incomm
Copy link

cfinlinson-incomm commented Jul 1, 2019

I have a popover that loads content after it's opened. When the content is loaded, the popover resizes, and I used SatPopover.realign to realign it with the trigger. However, the user experience is not good because the popover alignment changes after the size changes.

See this example:

https://stackblitz.com/edit/ncstate-sat-popover-issues-euqro6

Is there a way to synchronize the resize with the realignment, and ideally animate them together? Even without animations, it would be great to have the realignment occur in the same frame as the resize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant