We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c86b6ee commit 53c623aCopy full SHA for 53c623a
1 file changed
app/javascript/mastodon/components/status.js
@@ -134,17 +134,6 @@ class Status extends ImmutablePureComponent {
134
}
135
136
137
- componentWillUnmount() {
138
- if (this.node && this.props.getScrollPosition) {
139
- const position = this.props.getScrollPosition();
140
- if (position !== null && this.node.offsetTop < position.top) {
141
- requestAnimationFrame(() => {
142
- this.props.updateScrollBottom(position.height - position.top);
143
- });
144
- }
145
146
147
-
148
handleToggleMediaVisibility = () => {
149
this.setState({ showMedia: !this.state.showMedia });
150
0 commit comments