[whatwg] Proposing: "autoscroll" event
james.m.greene at gmail.com
Tue May 14 10:55:19 PDT 2013
So, to that end, what about just adjusting the spec for the "hashchange"
event to also fire when the page is initially loaded if the URL contains a
fragment identifier (hash)? The other scenarios mentioned would already be
covered by the "hashchange" event.
On Tue, May 14, 2013 at 12:48 PM, Kyle Simpson <getify at gmail.com> wrote:
> > when should autoscroll be called? only after a url with a hash is
> clicked in the same page? when following a link to a : url#specific_hash?
> both cases?
> I initially conceived it as only firing on initial page load for a
> URL#hash, so definitely that case. But I can also see how it might be
> useful to listen for such events even when clicking within the same
> document, so I'd certainly entertain that addition. :)
More information about the whatwg