Skip to content

Top plus height position calculation seems wrong #143

Open
@shirashif

Description

@shirashif

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) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions