alexcrack / alexcrack/angular-ui-notification
Top plus height position calculation seems wrong
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 529
- Forks
- 164
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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) {`
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.