md error: long error messages overlap input fields
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
#### Bug, feature request, or proposal:
Bug (or question about) displaying long error messages in md-error
#### What is the expected behavior?
The error message needs to be visible without overlapping with other input fields
#### What is the current behavior?
If there are multiple error messages or if a message is too long it is displayed on top of the next input field
#### What are the steps to reproduce?
The plunk displays an example of a long error message for Last name, which is required, overlapping Email input field and 'Save' button on blur event: http://plnkr.co/edit/LX2iSTxWPJOvNVl0pzy8
#### What is the use-case or motivation for changing an existing behavior?
Long error messages in input form need to be displayed correctly
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
+-- @angular/animations@4.1.2
+-- @angular/cli@1.0.3
+-- UNMET PEER DEPENDENCY @angular/common@4.1.2
+-- @angular/compiler@4.1.2
+-- @angular/compiler-cli@4.1.2
| +-- @angular/tsc-wrapped@4.1.2
+-- UNMET PEER DEPENDENCY @angular/core@4.1.2
+-- @angular/flex-layout@2.0.0-beta.8
+-- @angular/forms@4.1.2
+-- @angular/http@4.1.2
+-- @angular/material@2.0.0-beta.5
+-- @angular/platform-browser@4.1.2
+-- @angular/platform-browser-dynamic@4.1.2
+-- @angular/router@4.1.2
| +-- @angular/core@2.4.10
| +-- typescript@2.2.2
| `-- typescript@1.8.10
+-- typescript@2.3.2
贡献指南
调研方向
从 md-error 组件的入口点开始,在链接的 Plunk 中复现 Last name 的长错误消息,包括多条消息和 blur 事件。跟踪组件在 Email 字段和 Save 按钮周围的布局行为;当长错误消息保持可见且不与相邻输入字段重叠时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100