You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
clarify another scrolljump bug
This commit is contained in:
@@ -242,6 +242,8 @@ export default class extends React.Component {
|
|||||||
// FIXME: this will break on clientside generated thumbnails (as per e2e rooms)
|
// FIXME: this will break on clientside generated thumbnails (as per e2e rooms)
|
||||||
// which may well be much smaller than the 800x600 bounding box.
|
// which may well be much smaller than the 800x600 bounding box.
|
||||||
|
|
||||||
|
// FIXME: It will also break really badly for images with broken or missing thumbnails
|
||||||
|
|
||||||
//console.log("trying to fit image into timelineWidth of " + this.refs.body.offsetWidth + " or " + this.refs.body.clientWidth);
|
//console.log("trying to fit image into timelineWidth of " + this.refs.body.offsetWidth + " or " + this.refs.body.clientWidth);
|
||||||
let thumbHeight = null;
|
let thumbHeight = null;
|
||||||
if (content.info) {
|
if (content.info) {
|
||||||
|
|||||||
Reference in New Issue
Block a user