eclipsesource / eclipsesource/tabris-js

Customizing cursorColor fails on Android 9

Open
#2,266 0 comments 0 reactions 0 assignees View on GitHub
android bug
Dominant language
JavaScript
Stars
1.4k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

### 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

```js
import {TextInput, contentView} from 'tabris';

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.