feathersui-starling icon indicating copy to clipboard operation
feathersui-starling copied to clipboard

StageTextTextEditor: re-dispatch keyboard events because they do not bubble to the native stage

Open harry248 opened this issue 11 years ago • 2 comments

Currently TextInput does dispatch events only for the enter key being pressed. It would be nice if you could expose all keys being pressed through the control or at least other important ones like tab e.g.

harry248 avatar Oct 01 '14 10:10 harry248

Is this in reference to StageTextTextEditor? You should be able to listen for keyboard events when using other text editors, but for some reason, StageText prevents keyboard events from reaching the native stage and bubbling properly. I've considered redispatching the events from StageText, but I'm wary, since it seems like a bug that Adobe might decide to fix.

joshtynjala avatar Oct 01 '14 14:10 joshtynjala

Yes right, re-dispatching would be exactly what I need.

harry248 avatar Oct 01 '14 15:10 harry248