angular / angular/components

autocomplete does not stick when scrolling

未关闭
#10,079 48 条评论 31 个 reaction 已指派 0 人 在 GitHub 查看
area: cdk/scrolling area: material/autocomplete P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

#### Bug, feature request, or proposal:
Bug

#### What is the expected behavior?
The autocomplete drop down list should stick to the bottom of input element when scrolling

#### What is the current behavior?
The drop down list is sticky to position on the screen, it will not follow the input element position when scrolling

#### What are the steps to reproduce?
![image](https://user-images.githubusercontent.com/8890603/36518616-31138cfc-17c2-11e8-9b94-dcafc2de4949.png)

#### What is the use-case or motivation for changing an existing behavior?

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Windows 10 64 bit
Chrome Version 64.0.3282.167 (Official Build) (64-bit)
Angular 5.1.2
Angular Material 5.0.2
TypeScript 2.7.1

#### Is there anything else we should know?

贡献指南

打开贡献指南

调研方向

首先在 Chrome 中使用 Angular 5.1.2 和 Angular Material 5.0.2 重现 autocomplete 的滚动行为,然后追踪 autocomplete 下拉菜单定位的入口点。完成的标准是:下拉菜单始终附着在其输入框底部,并在页面滚动时跟随输入框移动。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。