Is there some mechanism that is suppressing keyboard events in the browser that pops up when showing HTML in a new window? Pressing the tab key does not focus links in the window. When I listen for `keyup` events on `document`, tabbing is trapped to the body element.
Ryan
On 10 Jul 2016, at 22:26, Ryan Fitzer wrote:
Is there some mechanism that is suppressing keyboard events in the browser that pops up when showing HTML in a new window?
It is not something we have deliberately added, and I don’t see anything obvious.
But the tab key might be handled at a higher level. Do you see same problem with other keys?
On Mon, Jul 11, 2016 at 6:40 AM, Allan Odgaard mailinglist@textmate.org wrote:
But the tab key might be handled at a higher level. Do you see same problem with other keys?
I've found that anytime the tab key is pressed, focus is automatically moved to the back/forward controls in the window's bottom chrome (faint outline appears around the control).
Any ideas about how to enable browser-like defaults for the tab key?
On 12 Jul 2016, at 5:52, Ryan Fitzer wrote:
Any ideas about how to enable browser-like defaults for the tab key?
I found this from 2009 which basically says “no API for this”: http://www.lists.apple.com/archives/webkitsdk-dev/2009/Dec/msg00023.html
But things may have improved since then, worth asking the OP if he has found a solution.