ibm-js / delite

HTML Custom Element / Widget infrastructure
http://ibm-js.github.io/delite/
Other
68 stars 28 forks source link

HasDropDown: focuses dropdown on tap even though focusOnPointerOpen === false (iOS, android) #430

Closed wkeese closed 9 years ago

wkeese commented 9 years ago

HasDropDown has code to try to differentiate real clicks (from a mouse) from fake clicks (mousedown/mouseup/click events) generated by JAWS when the user uses the keyboard to simulate a click.

But this isn't working right for touch devices. It interprets the tap as a fake click,and thus focuses the dropdown according to focusOnKeyboardOpen rather than focusOnPointerOpen.

This is causing a test failure in the android regression test, in the "basic menu drop down"/"mouse" test.