WebFilings/wf-uicomponents — pull request #79 by timmccall-wf (2014-08-18 02:43:43+00:00)
Title: Clear Content from Item Map When Removing Placeholder

Problem
-------

https://github.com/WebFilings/wf-uicomponents/pull/76 introduced a regression in some use cases by inconsistently clearing content when removing placeholders. Item maps (used by the ScrollList in peek and single mode) were not cleared, causing some consumers to have stray, leftover layers.

Solution
--------

Ensure that when recycling placeholders with item maps, that the content in those item maps is fully cleared, instead of simply removing the content container for the placeholder.

Unit Tests
----------

Modified existing.

How To +10/QA
-------------

- Travis CI should pass.
- See internal tracking tickets for consuming code higher up the food chain.

@lancefisher-wf @robbecker-wf @patkujawa-wf @georgelesica-wf @tomconnell-wf @todbachman-wf