Fix first channel load scrolling issue on Windows and iOS and add emoji to RHS.
Этот коммит содержится в:
@@ -56,6 +56,7 @@ export default class RhsComment extends React.Component {
|
||||
}
|
||||
parseEmojis() {
|
||||
twemoji.parse(React.findDOMNode(this), {size: Constants.EMOJI_SIZE});
|
||||
global.window.emojify.run(React.findDOMNode(this.refs.message_holder));
|
||||
}
|
||||
componentDidMount() {
|
||||
this.parseEmojis();
|
||||
@@ -208,6 +209,7 @@ export default class RhsComment extends React.Component {
|
||||
<p className={postClass}>
|
||||
{loading}
|
||||
<div
|
||||
ref='message_holder'
|
||||
onClick={TextFormatting.handleClick}
|
||||
dangerouslySetInnerHTML={{__html: TextFormatting.formatText(post.message)}}
|
||||
/>
|
||||
|
||||
Ссылка в новой задаче
Block a user