zurb/foundation — pull request #331 by cjsaylor (2012-02-18 16:23:31+00:00)
Title: Changing dom does not reposition tooltips

A prime example is on the UI documentation page. If you close one of the alert boxes, the height of the body adjusts and the absolute positioned tooltips don't. When hovering over a has-tip element, the tip overlay is still the old position.

The change here is to introduce a lightweight polling interval to periodically check if the body height has changed from addition or removal of DOM elements, and if detected triggers the window's resize event.