Letractively / svgweb

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

Fix focus stealing issues #400

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If you have key handling, the focus can get stolen by the Flash applet and
things can get wonky. Fix this with some clever trick.

Also, we currently allow keypress handlers on our SVG root. Remove this
code and require people to simply do keypress on the document itself. The
way we do keypress handling internally I'm worried will clobber other
keypress listeners (Issue 119).

Original issue reported on code.google.com by bradneub...@gmail.com on 6 Nov 2009 at 5:45

GoogleCodeExporter commented 8 years ago
Fixed in r1226.
We intercept document addEventListener and relay keyboard events to all 
listeners if flash captures them.

Original comment by grick23@gmail.com on 8 Aug 2010 at 4:27

GoogleCodeExporter commented 8 years ago

Original comment by grick23@gmail.com on 8 Aug 2010 at 4:45