tabris-js icon indicating copy to clipboard operation
tabris-js copied to clipboard

Customizing cursorColor fails on Android 9

Open cpetrov opened this issue 2 years ago • 0 comments

Problem description

When setting cursorColor, an error gets thrown:

No field mCursorDrawable in class Landroid/widget/Editor; (declaration of 'android.widget.Editor' appears in /system/framework/framework.jar!classes3.dex)

The error does not get thrown on Android 13.

Expected behavior

Environment

  • Tabris.js version: 3.9.0
  • Device: Samsung Galaxy S8
  • OS: Android 9

Code snippet

import {TextInput, contentView} from 'tabris';

new TextInput({
  left: 16, right: 16,
  message: 'Name',
  cursorColor: 'red',
}).appendTo(contentView);

cpetrov avatar Jul 07 '23 10:07 cpetrov