* Fix autocomplete showing behind the keyboard on iOS and not working on Android * Unbundle config for Android * Dismiss keyboard on post long press, fix scroll to bottom on new message and update tests * Add a timeout before scrolling to give time to render the last post * Fix crash on Android
24 lines
619 B
JavaScript
24 lines
619 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import React from 'react';
|
|
|
|
import Typing from './components/typing';
|
|
import PostTextBoxBase from './post_textbox_base';
|
|
|
|
export default class PostTextBoxIOS extends PostTextBoxBase {
|
|
render() {
|
|
const {deactivatedChannel} = this.props;
|
|
|
|
if (deactivatedChannel) {
|
|
return this.renderDeactivatedChannel();
|
|
}
|
|
|
|
return (
|
|
<React.Fragment>
|
|
<Typing/>
|
|
{this.renderTextBox()}
|
|
</React.Fragment>
|
|
);
|
|
}
|
|
}
|