enyojs/moonstone — pull request #1635 by clinuz (2014-09-19 20:07:29+00:00)
Title: Fix for: BHV-14466

# Issue

The _moon.ListActions_ kind handles an event propagated by its internal _moon.ListActionsDrawer_ the same whether it comes from a post-render (`rendered`) routine or an actual animation event (from open/close state change). If it happens because of an open/close state change then we want spotlight to be involved and properly spot the next control but if it is post-render then we need spotlight not to interfere. When pushing a new _moon.Panel_ into _moon.Panels_ where the panel has, in its _moon.Header_ a _moon.ListActions_ the post-render spotlight spotting of the control interferes with initialization measurements made by the arranger and it becomes impossible to navigate between panels.

# Fix

Separate out logic being actioned by the event handler so they can be called directly from the `rendered` routine of _moon.ListActions_; differentiate the post-render case from the actual state-change case.