Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizing cursorColor fails on Android 9 #2266

Open
cpetrov opened this issue Jul 7, 2023 · 0 comments
Open

Customizing cursorColor fails on Android 9 #2266

cpetrov opened this issue Jul 7, 2023 · 0 comments

Comments

@cpetrov
Copy link
Member

cpetrov commented Jul 7, 2023

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant