-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
When select is in a pop-up modal, the select option don't follow input after scrolling the page #7430
Comments
有人关注这个问题吗? 别沉了呀 |
demo显示,在自定义可滚动元素中,cdk-overlay需要配合cdkScrollable指令使用。如何才可以在nz-modal中插入这个指令呢? |
vote for this |
Any update on the issue? |
I resolved that with a directive
and you can use it
|
This PR will fix the issue mentioned above for all components created with the CDK Overlay that are inside modals or drawers: #8804. As a temporary fix, you can follow these steps:
This way, the wrapper will handle the scrolling. |
Reproduction link
https://stackblitz.com/edit/angular-nht15b?file=src/app/app.component.ts
Steps to reproduce
What is expected?
select options always follow select input
What is actually happening?
select option is sepearted with select input after scroll the page
The text was updated successfully, but these errors were encountered: