dhamaso / ufd

Automatically exported from code.google.com/p/ufd
GNU General Public License v2.0
0 stars 0 forks source link

When using Chrome and jQuery UI CSS, the dropdown button doesn't work #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to http://ufd.googlecode.com/svn/tags/0.6/examples/testCases.html with 
Chrome 8.0.552.215
2. Select the first theme.
3. Try to click in the "dropdown" button several times. You can see that the 
"clickable" target doesn't match the button correctly. It seems that clicking 
in the right edge of it works while clicking directly in the arrow icon doesn't 
work.

When not using jquery ui css everything seems to work 100%. Also clicking in 
the "input" text works 100%.

What is the expected output? What do you see instead?
I expect it to behave exactly as not using jQuery UI CSS

What version of the product are you using? On what operating system?
0.6 or trunk

Original issue reported on code.google.com by alfa...@gmail.com on 7 Dec 2010 at 6:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fix attached.
Tested in FF 3.6 and Chrome 8. IE 8 also seems to work.

The stop propagation can be also done inside a if 
(e.target.tagName.toLowerCase() === "div") to only do this in case the target 
was the div.

Original comment by paulo.si...@gmail.com on 7 Dec 2010 at 7:58

Attachments: