eclipsesource / eclipsesource/tabris-js

`WebView` with a `<input type="file">` in the HTML works on iOS but not on Android.

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

Description

### Problem description
On Android when clicking into an `` HTML element within a `WebView`, nothing happens.

### Expected behavior
A modal should appear to ask to select a file/photo or open the camera to take a photo, as happens on iOS.

### Environment

- Tabris.js version: Tested on multiple versions, 3.7+ including nightly
- Device: Samsung A10 and Honor 10
- OS: Android 10/11

### Code snippet
The WebView is pointing at a URL, not being given HTML directly. I've not tried direct HTML.

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

contentView.append(
<$>


);
```

Playground:

Screenshot 2021-12-23 at 12 26 49 pm

**Thanks for your help** :+1:

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.