-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
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.