Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26792] Android: Text cursor should change color according to text color

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2019-02-01T19:25:56.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.0.1
ComponentsAndroid
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2019-02-01T19:01:10.000+0000
Updated2019-02-01T19:25:56.000+0000

Description

- The text cursor maintains the color set by the parent theme, this can cause the cursor to disappear light backgrounds. The cursor should match the font color.
const win = Ti.UI.createWindow({ backgroundColor: 'white' });
const textArea = Ti.UI.createTextArea({ color: 'black' });
win.add(textArea);
win.open();

Comments

  1. Gary Mathews 2019-02-01

    master: https://github.com/appcelerator/titanium_mobile/pull/10671
  2. Gary Mathews 2019-02-01

    Closing ticket, this is not the best way to address this issue. The developer should amend their theming to resolve this issue.

JSON Source