|
|
|
@ -265,8 +265,7 @@ class ScrollableList extends PureComponent {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defaultShouldUpdateScroll = (prevRouterProps, { location }) => {
|
|
|
|
|
if ((((prevRouterProps || {}).location || {}).state || {}).mastodonModalOpen) return false;
|
|
|
|
|
return !(location.state && location.state.mastodonModalOpen);
|
|
|
|
|
return !(prevRouterProps?.location?.state?.mastodonModalKey || location.state?.mastodonModalKey);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
handleLoadPending = e => {
|
|
|
|
|