Make it so navigation keys can be undone. E.g., add a "return" key that has the following effect.
The user is on page p.
goToFirstPage is executed. The user is now on the first page.
return is executed, still on the first page.
The user is now back at page p.
The easiest way I can think of is a sort of navigation history, possibly only one deep (and return toggles between the two most recent positions). Maybe there's a nicer way though ...
Make it so navigation keys can be undone. E.g., add a "return" key that has the following effect.
p
.goToFirstPage
is executed. The user is now on the first page.return
is executed, still on the first page.p
.The easiest way I can think of is a sort of navigation history, possibly only one deep (and return toggles between the two most recent positions). Maybe there's a nicer way though ...