mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-07 06:32:02 +03:00
commit
6af3eaa9bb
@ -124,7 +124,6 @@ export default class TagAreaView extends Component {
|
|||||||
}
|
}
|
||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
onFocus={() => this.setState({ activeChip: i })}
|
onFocus={() => this.setState({ activeChip: i })}
|
||||||
{...this.props}
|
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
)}
|
)}
|
||||||
|
@ -44,12 +44,12 @@ export default class TitleAreaView extends Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { intl, isPreviewActive, autoFocus } = this.props;
|
const { intl, isPreviewActive, autoFocus } = this.props;
|
||||||
const { text } = this.state;
|
const { text, height } = this.state;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={globalStyles.containerHorizontal16}>
|
<View style={globalStyles.containerHorizontal16}>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={[styles.textInput, { height: Math.max(35, this.state.height) }]}
|
style={[styles.textInput, { height: Math.max(35, height) }]}
|
||||||
placeholderTextColor="#c1c5c7"
|
placeholderTextColor="#c1c5c7"
|
||||||
editable={!isPreviewActive}
|
editable={!isPreviewActive}
|
||||||
maxLength={250}
|
maxLength={250}
|
||||||
|
@ -219,7 +219,6 @@ export default class MarkdownEditorView extends Component {
|
|||||||
style={styles.textWrapper}
|
style={styles.textWrapper}
|
||||||
underlineColorAndroid="transparent"
|
underlineColorAndroid="transparent"
|
||||||
value={text}
|
value={text}
|
||||||
{...this.props}
|
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
this._renderPreview()
|
this._renderPreview()
|
||||||
|
Loading…
Reference in New Issue
Block a user