xftjywx / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

Selecting items from dropdowns don't listen for touch events #247

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. On a mobile device, create a block that has a dropdown
2. Open the dropdown
3. Select an item, and notice that the 300ms touch delay is there

What is the expected output? What do you see instead?
I'm expecting the selected item to respond immediately

What browser are you using?
iOS Safari

Please provide any additional information below.
Looks like Blockly is using goog.events.listen, and goog.events.listen doesn't 
respond to touch events
https://groups.google.com/forum/#!topic/closure-library-discuss/8XE2c8HZicE

I'd suggest replacing this with your own Blockly.bindEvent_ instead

Original issue reported on code.google.com by daniel.h...@gmail.com on 22 Aug 2014 at 4:08

GoogleCodeExporter commented 8 years ago
Good catch!  Fixed in r1765.

Original comment by neil.fra...@gmail.com on 28 Aug 2014 at 12:40