MKI FlxTextInput Suggestions
These all seem pretty reasonable
- Insert key support
- Page up and page down for multiline inputs
- Possibly "Escape" to lose focus of the input field.
Also will add, from the demo it seems like you can listen to certain events like "cursor up" or "cursor down" Is there also something like "focus" or "unfocus"? I haven't gone through the code so I figure it might be easier to just ask here.
Also, for people with screenreaders, the mentioned improvements were:
- Insert key support
- Page up and page down for multiline inputs
- Possibly "Escape" to lose focus of the input field.
Also will add, from the demo it seems like you can listen to certain events like "cursor up" or "cursor down" Is there also something like "focus" or "unfocus"? I haven't gone through the code so I figure it might be easier to just ask here.
Things like "cursor up" are text-input events dispatched from the global TextInput manager, to the actual input, where focus changes/requests are something the instance tells to the input manager. It would make sense to have a separate onFocusChange signal in the manager, I think there likely already is one
Also will add, from the demo it seems like you can listen to certain events like "cursor up" or "cursor down" Is there also something like "focus" or "unfocus"? I haven't gone through the code so I figure it might be easier to just ask here.
Things like "cursor up" are text-input events dispatched from the global TextInput manager, to the actual input, where focus changes/requests are something the instance tells to the input manager. It would make sense to have a separate
onFocusChangesignal in the manager, I think there likely already is one
Lovely.