Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-22757 Fix for date toast placement in web mobile view #5090

Merged
merged 8 commits into from
Mar 25, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename func
  • Loading branch information
sudheerDev committed Mar 19, 2020
commit fb1422558b181633de6406b0df851cba6e210a76
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ class PostList extends React.PureComponent {
this.props.actions.updateNewMessagesAtInChannel(this.props.channelId, lastViewedAt);
}

renderToasts = (width) => {
renderToastsAndFloatingTimestamp = (width) => {
return (
<ToastWrapper
atLatestPost={this.props.atLatestPost}
Expand Down Expand Up @@ -569,7 +569,7 @@ class PostList extends React.PureComponent {
<AutoSizer>
{({height, width}) => (
<React.Fragment>
<div>{this.state.atBottom !== null && this.renderToasts(width)}</div>
<div>{this.state.atBottom !== null && this.renderToastsAndFloatingTimestamp(width)}</div>
<DynamicSizeList
ref={this.listRef}
height={height}
Expand Down