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

rc-trigger cause popup window to glitch when there not enough width size #496

Open
yhy-1 opened this issue Dec 2, 2024 · 3 comments
Open

Comments

@yhy-1
Copy link

yhy-1 commented Dec 2, 2024

When the popup window do not have enough space it causes the popup to glitch. You can observe this behavior in the video linked below:

2024-12-02_16-19-16.mp4

Step to reproduce:

  1. Navigate to the portal example in the demo using rc-trigger v2.2.5.
  2. Resize the window so that the popup appears slightly off-screen.
  3. Watch for the glitch in the popup during the transition. It looks like the style are being recalculate.

This is causing issue because when working with microfrontend, each microfrontend has it designed container. The glitch happens when the popup extends outside the container of the microfrontend that triggers it, leading to this unexpected behavior.

@yhy-1
Copy link
Author

yhy-1 commented Dec 2, 2024

@zombieJ @afc163 Hi we are running into this really weird bug. Can you look into this? It didn't seem like this was a problem when using antd v4 which was using rc-trigger v5.3.4

@yhy-1
Copy link
Author

yhy-1 commented Dec 4, 2024

@MadCcc could someone look into this issue? This results in this behavior in the dropdown which makes it unuseable.

2024-12-04_14-41-26.mp4

@yhy-1 yhy-1 changed the title rc-trigger cause popup window to glitch when there not enough width size when using portal rc-trigger cause popup window to glitch when there not enough width size Dec 5, 2024
@yhy-1
Copy link
Author

yhy-1 commented Jan 7, 2025

@zombieJ @afc163 @MadCcc could someone look into this issue?

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