Skip to content

scrollTo feature not working anymore, notifications not visible etc #12625

@tsteur

Description

@tsteur

I noticed when a notification appears, example from an API or any other request error using piwikApi, then the notification is never scrolled to. At first I thought it was because it doesn't wait for angular to render a notification see b801546

This was not the case so I thought $.scrollTo is getting an element instead of a position but that's all correct as well after checking out the docs for it. So I tried various things directly like $.scrollTo(100) or $.scrollTo(document.getElementById('...'), 250) etc. and nothing worked in latest Chrome 64 on Mac.

Seeing that the library is very old I wouldn't be surprised if it is broken. I didn't test any other browsers but this is pretty annoying since you press "create" or "update" somewhere, and nothing happens. Only later when you figure out to scroll around you may notice the error notification if it hasn't disappeared by now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.c: UsabilityFor issues that let users achieve a defined goal more effectively or efficiently.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions