Skip to content

Instantly share code, notes, and snippets.

View kmlxn's full-sized avatar
🌅
Alhamdulillah

Komilkhon Asamov kmlxn

🌅
Alhamdulillah
  • Uzbekistan
View GitHub Profile
@codewithpassion
codewithpassion / MultilineTextInput.js
Last active January 26, 2018 12:39 — forked from catchin/MultilineTextInput.js
This is a workaround for the buggy react-native TextInput multiline on Android. Inspired by the comments on https://github.com/facebook/react-native/issues/12717. Based the work of @catchin with the addition of handling the state via the container.
import React, { PropTypes, PureComponent } from 'react';
import { TextInput } from 'react-native';
import debounce from 'debounce';
/**
* This is a workaround for the buggy react-native TextInput multiline on Android.
*
* Can be removed once https://github.com/facebook/react-native/issues/12717
* is fixed.
*
@catchin
catchin / MultilineTextInput.js
Last active July 31, 2018 04:07
This is a workaround for the buggy react-native TextInput multiline on Android. Inspired by the comments on https://github.com/facebook/react-native/issues/12717.
import React, {PropTypes, PureComponent} from 'react';
import {TextInput} from 'react-native';
import debounce from 'debounce';
/**
* This is a workaround for the buggy react-native TextInput multiline on Android.
*
* Can be removed once https://github.com/facebook/react-native/issues/12717
* is fixed.
*