Comcast / Xooie

Important note: this project is no longer actively maintained. Xfinity Xooie - Modular, Modifiable, Responsive, Accessible
Apache License 2.0
14 stars 20 forks source link

Attempting to fix Xooie click capture issue #80

Closed JohnRiv closed 10 years ago

JohnRiv commented 10 years ago

If there are multiple Gallery Rows on a page and you click an item in one row, then click an item in another row, and then click a button in that item that does something on the page (like launch a Flash video player) Xooie will capture all clicks & preventDefault, rendering the mouse useless.

These changes attempt to do 2 things:

  1. Always collapse the dropdown if 'collapse' is called (should take care of the multiple Gallery Row issue)
  2. Expose a 'forceCollapse' event that can be triggered & calls collapse (because I've seen that sometimes, for reasons I'm not quite sure, collapse isn't called)