Skip to content

TextField and TextArea don't behave natively #46

@5Mixer

Description

@5Mixer

Expected Behavior

  • Control + arrow keys should move cursor word by word
  • Control + a should select all text
  • Control + c should copy to the clip board
  • Control + v should paste from the clip board

Current Behavior

  • Control + arrow keys move cursor by single character
  • Control + a does nothing
  • Control + c does nothing on HTML5 and segfaults on linux (though I believe the segfault is Kha and not HaxeUI)
  • Control + v does nothing

Steps to Reproduce (for bugs)

  1. Use a HaxeUI app with a TextField
  2. Try keyboard combos shown in 'expected behaviour'

Test app / minimal test case

Kha HaxeUI skeleton with <textfield placeholder="Test" width="100%">
should be sufficient.

Context

Search box for searching assets in application does not behave as expected.

Your Environment

  • Version used: git
  • Environment name and version (e.g. Chrome 39, node.js 5.4): hxcpp / Kha git
  • Operating System and version (desktop or mobile): Arch Linux
  • Link to your project: Closed Source

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions