adopted-ember-addons / adopted-ember-addons/ember-paper
paper-menu: updated content while opened badly position it
- 主要语言
- JavaScript
- 星标
- 879
- 派生
- 327
- PR 合并指标
- 30 天内没有已合并 PR
描述
I tried reproducing the first example of this page:
http://ember-basic-dropdown.com/docs/dropdown-events
Where a placeholder is displayed while the content is loaded.
In the case of `paper-menu` I have an issue where, once the content is loaded and rendered, the `calculatePosition` badly position it.
Turned out this is due to this changeset: https://github.com/miguelcobain/ember-paper/commit/d69255597e1c06834aebdc7ccad85d874bfdbb18
@miguelcobain Do you remember why you did this?
贡献指南
调研方向
Start by reproducing the first example at http://ember-basic-dropdown.com/docs/dropdown-events with paper-menu and inspect calculatePosition when the placeholder is replaced by loaded content. Read changeset d69255597e1c06834aebdc7ccad85d874bfdbb18 and determine why it affects this case; done means the rendered menu is positioned correctly after its content updates.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100