4 ms·
Yeah I just used a JavaScript method `scrollIntoViewIfNeeded` to scroll the page to the target element but it works in modern browsers AFAIK.
by afshinmeh 14y ago
Yeah I just used a JavaScript method `scrollIntoViewIfNeeded` to scroll the page to the target element but it works in modern browsers AFAIK.
- przemoc 14y agoI'm using Iceweasel straight from debian wheezy repository, i.e. Firefox 10. IMO not old enough to be not supported, but YMMV.
- mediumdeviation 14y agoAs far as I can tell it's a non-standard Webkit function. See https://bugzilla.mozilla.org/show_bug.cgi?id=403510 https://bugzilla.mozilla.org/show_bug.cgi?id=403510 and https://gist.github.com/hsablonniere/2581101 https://gist.github.com/hsablonniere/2581101