Skip to content

Use GIF in TextInput #25918

Closed
Closed
@oromis300

Description

@oromis300

I want to be able to send GIF via an InputText. I use the Google Keyboard to displays the GIFs.
But when I click on one gif I have an error saying appname doesn't support image insertion here.

Screenshot_20190802-121602

React Native version:
React Native Environment Info:
System:
OS: Windows 10
CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Memory: 3.82 GB / 15.92 GB
Binaries:
npm: 6.2.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.4.0.0 AI-183.6156.11.34.5692245

Steps To Reproduce

  1. Use a simple TextInput
  2. Focus him to make the keyboard appear
  3. With the Google Keyboard select the GIF section.
  4. Select any GIF and the error will appear.

Describe what you expected to happen:
I want to be able to get the GIF, the url, the uri, base64 data or anything so I can send it to the chat.

Here my simple TextInput

<TextInput size={17} placeholder={strings('messages.message_placeholder')} style={[styles.inputStyle, Platform.OS === 'android' && styles.marginAndroid]} underlineColorAndroid={null} defaultValue={text} onChangeText={this.onChange} innerRef={input => { this.inputChat = input; }} multiline onContentSizeChange={e => this.onContentSizeChange(e)} onFocus={onFocus} />

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugComponent: TextInputRelated to the TextInput component.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions