TextArea caret position doesn't take parsed entities/tags into account. #114

Spooner opened this Issue Feb 19, 2012 · 1 comment


None yet

2 participants

Spooner commented Feb 19, 2012

If entities/tags are used in a TextArea then it uses the full string length for caret, etc, not the string's display length, which is a pain to workaround.

e.g. in a string "hello", arrow keys will move caret from 0..5. In "&pig;" it also goes from 0..5 but should be 0..1

EDIT: jlnr suggests just not supporting entities/tags in textinputs.

@jlnr jlnr modified the milestone: 1.0 May 16, 2015
@jlnr jlnr self-assigned this Dec 30, 2016
jlnr commented Jan 6, 2017 edited

Superseded by #304. Pseudo-HTML markup should be an opt-in feature, and it should not be used when implementing text fields.

@jlnr jlnr closed this Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment