Merge pull request #682 from esteemapp/bugfix/604

Bugfix/604
This commit is contained in:
Mustafa Buyukcelebi 2019-03-17 00:32:14 +03:00 committed by GitHub
commit 6af3eaa9bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View File

@ -124,7 +124,6 @@ export default class TagAreaView extends Component {
}
autoCapitalize="none"
onFocus={() => this.setState({ activeChip: i })}
{...this.props}
/>
),
)}

View File

@ -44,12 +44,12 @@ export default class TitleAreaView extends Component {
render() {
const { intl, isPreviewActive, autoFocus } = this.props;
const { text } = this.state;
const { text, height } = this.state;
return (
<View style={globalStyles.containerHorizontal16}>
<TextInput
style={[styles.textInput, { height: Math.max(35, this.state.height) }]}
style={[styles.textInput, { height: Math.max(35, height) }]}
placeholderTextColor="#c1c5c7"
editable={!isPreviewActive}
maxLength={250}

View File

@ -219,7 +219,6 @@ export default class MarkdownEditorView extends Component {
style={styles.textWrapper}
underlineColorAndroid="transparent"
value={text}
{...this.props}
/>
) : (
this._renderPreview()