Fix CW unfolding not triggering re-layout in public hashtag page
This commit is contained in:
1 parent
3ce34ce7a2
commit
1a70fca168
2 files changed
+7
No files matched your search
@@ -79,6 +79,10 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
||||
this._measureHeight(prevState.height !== this.state.height);
|
||||
}
|
||||
|
||||
handleChildUpdate = () => {
|
||||
this._measureHeight();
|
||||
}
|
||||
|
||||
handleModalLink = e => {
|
||||
e.preventDefault();
|
||||
|
||||
@@ -218,6 +222,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
|
||||
collapsed={false}
|
||||
onExpandedToggle={onToggleHidden}
|
||||
parseClick={this.parseClick}
|
||||
onUpdate={this.handleChildUpdate}
|
||||
/>
|
||||
|
||||
<div className='detailed-status__meta'>
|
||||
|
||||
Reference in new issue
Block a user