You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
@@ -100,7 +100,6 @@ export default class ImageView extends React.Component<IProps, IState> {
|
||||
private previousY = 0;
|
||||
|
||||
componentDidMount() {
|
||||
console.log("LOG calculating", this.props.width, this.props.height);
|
||||
// We have to use addEventListener() because the listener
|
||||
// needs to be passive in order to work with Chromium
|
||||
this.focusLock.current.addEventListener('wheel', this.onWheel, { passive: false });
|
||||
|
||||
Reference in New Issue
Block a user