dyoo / WeScheme

29 stars 16 forks source link

keyboard focus on on-key handlers doesn't discriminate #2

Closed dyoo closed 14 years ago

dyoo commented 14 years ago

on-key's hook to the window intercepts all key events, but when we're in the interactive editor, we'd like those events to only filter to specific objects.

We should use tabindex. http://stackoverflow.com/questions/148361/how-can-i-give-keyboard-focus-to-a-div-and-attach-keyboard-event-handlers-to-it

dyoo commented 14 years ago

Ok, it discriminates now. All event handling should use bubbling.