Re: [whatwg] Proposal: Allow disabling of default scroll restoration behavior

On 25/03/2015 14:54 , Anne van Kesteren wrote:
> The only suggestion I have is that instead of having four-argument
> methods we might want to consider introducing two new methods that
> take a dictionary. E.g. history.push() and history.replace(). Giving
> the page more control over the scroll position when navigating makes
> sense to me.

+1

This has the added benefit of getting rid of the second argument wart.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Wednesday, 25 March 2015 16:15:04 UTC