What steps will reproduce the problem?
1. HTML:
<a tooltip>a</a><a tooltip>b</a>
2. JS:
var hc = new goog.ui.HoverCard({ "A": "tooltip" });
hc.setTransition(showTransition, hideTransition)
hc.addEventListener 'beforeshow' ->
hc.getAnchorElement() === undefined
3. move your mouse from link a to link b
What is the expected output? What do you see instead?
expected: hc.anchor is link b.
actual: hc.anchor is undefined.
What version of the product are you using? On what operating system?
latest.
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.11 (KHTML, like
Gecko) Chrome/23.0.1271.64 Safari/537.11"
Please provide any additional information below.
stack trace:
Note: we cannot accept patches without the contributor license agreement
being signed. See http://code.google.com/p/closure-
library/wiki/Contributors for more info.
Original issue reported on code.google.com by `ambar....@gmail.com` on 20 Nov 2012 at 8:24
goog.ui.Tooltip.onHide_ (tooltip.js:524)
Note: we cannot accept patches without the contributor license agreement being signed. See http://code.google.com/p/closure- library/wiki/Contributors for more info.