-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
fix: AntD select dropdown scroll issue #13585
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13585 +/- ##
==========================================
- Coverage 77.35% 73.46% -3.90%
==========================================
Files 909 605 -304
Lines 46118 21430 -24688
Branches 5649 5562 -87
==========================================
- Hits 35674 15743 -19931
+ Misses 10309 5552 -4757
Partials 135 135
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
/testenv up |
@junlincc Ephemeral environment spinning up at http://34.217.214.19:8080. Credentials are |
Thanks for the pr @lilykuang! I wonder if there's a fix for popover on scroll? if so, we can take it on. Screen.Recording.2021-03-13.at.11.30.32.PM.mov |
|
@junlincc yup, this same logic should apply to other popups It's a known issue with antd, and this is their suggested fix. We can probably apply the logic to all "apps" and that should cover all other cases going forward. |
Ephemeral environment shutdown and build artifacts deleted. |
Thank you both for clarifying, so we still need separate PRs that apply this logic to other components, right? i looked master, popover is still disconnected on scroll. @nytai 🙏 |
Yes, that's correct @junlincc |
SUMMARY
There is an issue with AntD select ant-design/ant-design#3438. The select popover doesn't move with scrolling.
AntD has provided a fix with
getPopupContainer
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE:
https://www.loom.com/share/fe9f3933852840859620d92a84a44926
AFTER:
https://www.loom.com/share/47aeef38b3bc44d7a1343e368558a411
TEST PLAN
ADDITIONAL INFORMATION