latin-language-toolkit/arethusa — pull request #229 by LFDM (2014-07-05 19:09:02+00:00)
Title: Automatic scrolling

Adds `angular-scroll` to help us with automatic scrolling to specific spots on the page.

This is used now in the `revealToggle` directive, which can automatically scroll to the element it is revealing. Used for the `morphFormCreate` directive in particular.

The `nestedMenu` directive also tries to bring overflowing submenus to the user's attention by scrolling automatically to them. This is very tricky to do right and still not perfect at all, but maybe a start. Damn tiny screens that need this in the first place!

Note that scrolling is right now dependent on the idea of a sidepanel, which is the scrollable container for these events. Needs to be abstracted one more step one day.