What steps will reproduce the problem?
1. Using a Chrome browser, open page test cases page
(http://ufd.googlecode.com/svn/tags/0.6/examples/testCases.html)
2. On the first example (uiCss Combo) click on the right button (down arrow)
What is the expected output? What do you see instead?
A list of countries should be opened, but instead nothing happens.
What version of the product are you using? On what operating system?
Last stable version, Ubuntu linux, last Chrome browser
Please provide any additional information below.
To solve this bug you must change the line 299 (in the last stable version).
Change this:
if ((self.button.get(0) == e.target) || (self.input.get(0) == e.target)) return;
by this:
if ((self.button.get(0) == $(e.target).closest("button")[0]) ||
(self.input.get(0) == e.target)) return;
It happens because the event target (e.target) is pointing to the <div> inside
the button, not the button itself. If you add a parent search (closest) you can
check if the target returned by e.target is inside the expected button.
Original issue reported on code.google.com by ivan.ga...@gmail.com on 19 Oct 2012 at 9:23
Original issue reported on code.google.com by
ivan.ga...@gmail.com
on 19 Oct 2012 at 9:23