alexcrack / alexcrack/angular-ui-notification
Top plus height position calculation seems wrong
未关闭
- 主要语言
- JavaScript
- 星标
- 529
- 派生
- 164
- PR 合并指标
- 30 天内没有已合并 PR
描述
When I have multiple notifications, that exceed the visible window height, the last one that appears in the column, before moving to the next column is partly cut. This is the original code:
```
if ((top + elHeight) > window.innerHeight) {
position = startTop;
k ++;
j = 0;
}
```
To fix I changed the query to this:
`if ((position + elHeight) > window.innerHeight) {`
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。