You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-21 07:42:09 +03:00
more logging cleanup
This commit is contained in:
@ -569,11 +569,12 @@ module.exports = React.createClass({
|
|||||||
debuglog("unable to save scroll state: found no children in the viewport");
|
debuglog("unable to save scroll state: found no children in the viewport");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
debuglog("saving anchored scroll state to message", node && node.innerText);
|
const scrollToken = node.dataset.scrollTokens.split(',')[0];
|
||||||
|
debuglog("saving anchored scroll state to message", node && node.innerText, scrollToken);
|
||||||
this.scrollState = {
|
this.scrollState = {
|
||||||
stuckAtBottom: false,
|
stuckAtBottom: false,
|
||||||
trackedNode: node,
|
trackedNode: node,
|
||||||
trackedScrollToken: node.dataset.scrollTokens.split(',')[0],
|
trackedScrollToken: scrollToken,
|
||||||
bottomOffset: this._topFromBottom(node),
|
bottomOffset: this._topFromBottom(node),
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user